CVE-2024-37280 Elasticsearch StackOverflow vulnerability

Medium 4.9 Published Updated

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.

Weakness: CWE-787, CWE-122

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.

PackageAffectedFixed in
org.elasticsearch:elasticsearch MavenFrom 8.13.18.14.0
org.elasticsearch:elasticsearch MavenFrom 8.13.18.14.0
elasticsearch BitnamiFrom 8.13.18.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.

All Elastic Elasticsearch vulnerabilities

Sources

Also known as BIT-elasticsearch-2024-37280, GHSA-4q22-422g-m4pj, UBUNTU-CVE-2024-37280.

Is CVE-2024-37280 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free