CVE-2024-52979
HIGH 7.5CVSS 3.1Elasticsearch Uncontrolled Resource Consumption Vulnerability
Uncontrolled Resource Consumption in Elasticsearch while evaluating specifically crafted search templates with Mustache functions can lead to Denial of Service by causing the Elasticsearch node to crash.
- Published
- 1 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security@elastic.co
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- BIT-elasticsearch-2024-52979GHSA-mm3m-5497-xggg
- Sources
- NVDJSONOSV GHSA-mm3m-5497-xgggJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 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.25 | 7.17.25 |
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
>= 8.0.0, < 8.16.0 | 8.16.0 |
| OSV | Maven | org.elasticsearch:elasticsearch | < 7.17.25 | 7.17.25 |
| OSV | Maven | org.elasticsearch:elasticsearch | >= 8.0.0-alpha1, < 8.16.0 | 8.16.0 |
References
- https://discuss.elastic.co/t/elasticsearch-7-17-25-and-8-16-0-security-update-esa-2024-40/377709 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-52979 · ADVISORY
- https://github.com/elastic/elasticsearch/pull/114002 · WEB
- https://github.com/elastic/elasticsearch/commit/cbde7f456d7ccd98556302fccf3238bb4557fc91 · WEB
- https://github.com/elastic/elasticsearch/commit/f9b6b57d1d0f76e2d14291c04fb50abeb642cfbf · WEB
- https://github.com/elastic/elasticsearch · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 1 May 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 May 2025)