Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.elasticsearch/elasticsearch
  4. ›
  5. CVE-2024-52979

CVE-2024-52979: Elasticsearch Uncontrolled Resource Consumption Vulnerability

May 1, 2025 (updated October 2, 2025)

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

  • discuss.elastic.co/t/elasticsearch-7-17-25-and-8-16-0-security-update-esa-2024-40/377709
  • github.com/advisories/GHSA-mm3m-5497-xggg
  • github.com/elastic/elasticsearch
  • github.com/elastic/elasticsearch/commit/cbde7f456d7ccd98556302fccf3238bb4557fc91
  • github.com/elastic/elasticsearch/commit/f9b6b57d1d0f76e2d14291c04fb50abeb642cfbf
  • github.com/elastic/elasticsearch/pull/114002
  • nvd.nist.gov/vuln/detail/CVE-2024-52979

Code Behaviors & Features

Detect and mitigate CVE-2024-52979 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.17.25, all versions starting from 8.0.0-alpha1 before 8.16.0

Fixed versions

  • 7.17.25
  • 8.16.0

Solution

Upgrade to versions 7.17.25, 8.16.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

maven/org.elasticsearch/elasticsearch/CVE-2024-52979.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 08 Oct 2025 00:20:48 +0000.