CVE-2024-52979Elasticsearch
High 7.5 No auth needed
Follow: this CVE · Elastic · Elasticsearch We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 56
- Auth required
- No
- Published
- May 1, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Elasticsearch.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.elasticsearch:elasticsearch |
< 7.17.25 |
7.17.25 |
— |
| Maven | org.elasticsearch:elasticsearch |
≥ 8.0.0-alpha1 < 8.16.0 |
8.16.0 |
— |
Per OSV / GitHub Advisories (GHSA-mm3m-5497-xggg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| elastic | elasticsearch | < 7.17.25 |
| elastic | elasticsearch | ≥ 8.0.0 < 8.16.0 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.elastic.co Patch Vendor Advisory