CVE-2024-52980
MEDIUM 6.5CVSS 3.1Elasticsearch-grok Potential Node Crash due to Large Recursion in `innerForbidCircularReferences` Function
A flaw was discovered in Elasticsearch, where a large recursion using the innerForbidCircularReferences function of the PatternBank class could cause the Elasticsearch node to crash.
A successful attack requires a malicious user to have read_pipeline Elasticsearch cluster privilege assigned to them.
- Published
- 8 Apr 2025
- Last modified
- 25 Sep 2026
- Assigned by
- security@elastic.co
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- BIT-elasticsearch-2024-52980GHSA-ghfh-p92w-j4mg
- Sources
- NVDJSONOSV GHSA-ghfh-p92w-j4mgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@elastic.co (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
>= 7.17.0, < 8.15.1 | 8.15.1 |
| OSV | Maven | org.elasticsearch:elasticsearch-grok | >= 7.17.0, < 8.15.1 | 8.15.1 |
References
- https://discuss.elastic.co/t/elasticsearch-8-15-1-security-update-esa-2024-34/376919 · Issue Tracking, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-52980 · ADVISORY
- https://github.com/elastic/elasticsearch/commit/4e5c6801f4d60f100f122072f6bf35b21fd722a5 · WEB
- https://github.com/elastic/elasticsearch/commit/a02dc7165c75f12701f8d47a2bdefe5283735267 · WEB
- https://github.com/elastic/elasticsearch · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 8 Apr 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Apr 2025)