CVE-2024-37280: elastic elasticsearch Heap-based Buffer Overflow
Vulnerability summary
CVE-2024-37280 is a medium (CVSS 4.9) Heap-based Buffer Overflow vulnerability in elastic elasticsearch. EPSS estimates a 0.62% chance of exploitation in the next 30 days, higher than 48.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 4Timeline
- 13-06-2024PublishedVulnerability first disclosed.
- 16-08-2024Last modifiedVulnerability information updated.
Description
A flaw was discovered in Elasticsearch, affecting document ingestion when an index template contains a dynamic field mapping of “passthrough” type. Under certain circumstances, ingesting documents in this index would cause a StackOverflow exception to be thrown and ultimately lead to a Denial of Service. Note that passthrough fields is an experimental feature.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- NVDNIST4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.62%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
0.00 pp
From 0.62% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Chainguard1 product
- sonarqube-10< 25.3.0.104237-r0
Elastic1 product
- elasticsearch≥ 8.13.1, ≤ 8.13.4 | ≥ 8.13.1, < 8.14.0
Org.elasticsearch1 product
- elasticsearch≥ 8.13.1, < 8.14.0
Ubuntu1 product
- elasticsearchAll versions (No fix recorded)
Wolfi1 product
- sonarqube-10< 25.3.0.104237-r0
5 vendors · 5 products