CVE-2024-52979: Elasticsearch 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 May 1, 2025 · Updated Oct 2, 2025
Affected packages
org.elasticsearch:elasticsearch
- Ecosystem
- Maven
- Affected
- < 7.17.25
- Fixed in
- 7.17.25
- Check
mvn dependency:tree -Dincludes=org.elasticsearch:elasticsearch
org.elasticsearch:elasticsearch
- Ecosystem
- Maven
- Affected
- >= 8.0.0-alpha1, < 8.16.0
- Fixed in
- 8.16.0
- Check
mvn dependency:tree -Dincludes=org.elasticsearch:elasticsearch
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-52979
- https://discuss.elastic.co/t/elasticsearch-7-17-25-and-8-16-0-security-update-esa-2024-40/377709
- https://github.com/elastic/elasticsearch/pull/114002
- https://github.com/elastic/elasticsearch/commit/cbde7f456d7ccd98556302fccf3238bb4557fc91
- https://github.com/elastic/elasticsearch/commit/f9b6b57d1d0f76e2d14291c04fb50abeb642cfbf
- https://github.com/advisories/GHSA-mm3m-5497-xggg
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2024-52981
Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion
medium4.9Apr 8, 2025CVE-2024-43709
Elasticsearch allocation of resources without limits or throttling leads to crash
medium6.5Jan 21, 2025CVE-2024-12539
Elasticsearch Incorrect Authorization vulnerability
medium6.0Dec 17, 2024CVE-2024-23444
Elasticsearch stores private key on disk unencrypted
medium4.9Jul 31, 2024CVE-2023-49921
Elasticsearch Insertion of Sensitive Information into Log File
medium5.2Jul 26, 2024CVE-2024-37280
Elasticsearch StackOverflow vulnerability
medium4.9Jun 13, 2024
