CVE-2024-37280 Elasticsearch StackOverflow vulnerability
Attackers can cause a Denial of Service in Elasticsearch by ingesting documents into indices with experimental passthrough dynamic field mappings.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-37280?
CVE-2024-37280 is a medium-severity denial of service vulnerability in Elastic Elasticsearch, published on 13 Jun 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Which versions are affected by CVE-2024-37280?
3 open source packages ship an affected version, including org.elasticsearch:elasticsearch and elasticsearch. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.elasticsearch:elasticsearch Maven | From 8.13.1 | 8.14.0 |
org.elasticsearch:elasticsearch Maven | From 8.13.1 | 8.14.0 |
elasticsearch Bitnami | From 8.13.1 | 8.14.0 |
Products include Elastic Elasticsearch.
How do I fix CVE-2024-37280?
Upgrade org.elasticsearch:elasticsearch to 8.14.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-37280 being exploited?
There is no known exploitation of CVE-2024-37280 in the wild and no public exploit code.
Other vulnerabilities in Elastic Elasticsearch
- CVE-2015-1427 Elasticsearch Groovy Scripting Engine Remote Code Execution
- CVE-2014-3120 Elasticsearch Remote Code Execution
- CVE-2015-5377 Code injection in n/a
- CVE-2026-72649 Deserialization of Untrusted Data in Elasticsearch Leading to Remote Code Execution
- CVE-2026-72642 Use of Out-of-range Pointer Offset in the Elasticsearch Machine Learning Native Inference Process
Sources
Also known as BIT-elasticsearch-2024-37280, GHSA-4q22-422g-m4pj, UBUNTU-CVE-2024-37280.