CVE-2024-52979: Elasticsearch - Template Injection
- Cve: CVE-2024-52979
- Name: Elasticsearch - Template Injection
- 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.
- Impact: Attackers can cause Elasticsearch node crashes, leading to denial of service and system unavailability.
- Remediation: Update Elasticsearch to the latest version where this issue is fixed.
- Vulnerability type: template_injection
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00672
- Epss percentile: 0.52818
- Assignee: [email protected]
- Published at: 2025-05-01T14:15:35Z
- Age in days: 572
- Modified at: 2026-06-17T08:07:57Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-52979
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
Hackerone
- Reports: 7
- Rank: 2437
References
| Url | Source | Tags |
|---|---|---|
| https://discuss.elastic.co/t/elasticsearch-7-17-25-and-8-16-0-security-update-esa-2024-40/377709 | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| elastic:elasticsearch | >= 8.0.0, < 8.16.0; < 7.17.25 | no | nvd | /v1/products/elastic/elasticsearch |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| elastic/elasticsearch | commit, fix, package, pull | yes | /v1/repositories/elastic/elasticsearch |
Index
- Repositories: 47
- Repositories high signal: 27
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 7
- Exposed hosts: 74440
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since