# CVE-2024-52979: Elasticsearch Uncontrolled Resource Consumption vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by elastic) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2025-05-01T13:13:07.426Z
- Modified: 2026-09-08T08:47:25.162Z
- Also known as: GHSA-mm3m-5497-xggg, BIT-ELASTICSEARCH-2024-52979
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: elastic

## Description

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.

(As written by CVE List.)

## Affected

- Elastic Elasticsearch: from 7.17.0 before 7.17.25; from 8.0.0 before 8.16.0; before 7.17.25
- org.elasticsearch:elasticsearch (Maven): before 7.17.25; from 8.0.0-alpha1 before 8.16.0
- elasticsearch (Bitnami): from 7.17.0 before 7.17.25; from 8.0.0 before 8.16.0

## Every score

- elastic: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://discuss.elastic.co/t/elasticsearch-7-17-25-and-8-16-0-security-update-esa-2024-40/377709> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52979> (advisory, web)
- <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)

## Sources

- CVE List: [CVE-2024-52979](https://www.cve.org/CVERecord?id=CVE-2024-52979), CVE Terms of Use, modified 2025-05-01
- GitHub Advisory Database: [GHSA-mm3m-5497-xggg](https://github.com/advisories/GHSA-mm3m-5497-xggg), CC-BY-4.0, modified 2025-10-02
- NVD: [CVE-2024-52979](https://nvd.nist.gov/vuln/detail/CVE-2024-52979), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-ELASTICSEARCH-2024-52979](https://osv.dev/vulnerability/BIT-ELASTICSEARCH-2024-52979), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-52979 · Whole record: https://cve.day/CVE-2024-52979.json · Rebuilt by cve.day 2026-11-25T22:58:52.570Z
