SecurityContext

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

IdName
CWE-400Uncontrolled Resource Consumption

Hackerone

  • Reports: 7
  • Rank: 2437

References

UrlSourceTags
https://discuss.elastic.co/t/elasticsearch-7-17-25-and-8-16-0-security-update-esa-2024-40/377709nvdPatch, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
elastic:elasticsearch>= 8.0.0, < 8.16.0; < 7.17.25nonvd/v1/products/elastic/elasticsearch

Projects

RepositoryLink kindsIndexedUrl
elastic/elasticsearchcommit, fix, package, pullyes/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