CVE-2024-43709 Elasticsearch allocation of resources without limits or throttling leads to crash

Medium 6.5 Published Updated

Attackers can crash Elasticsearch via crafted SQL queries causing OutOfMemoryError, requiring administrators to upgrade the service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-43709?

CVE-2024-43709 is a medium-severity denial of service vulnerability in Elastic Elasticsearch, published on 21 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An allocation of resources without limits or throttling in Elasticsearch can lead to an OutOfMemoryError exception resulting in a crash via a specially crafted query using an SQL function.

Weakness: CWE-770

Which versions are affected by CVE-2024-43709?

5 open source packages ship an affected version, including org.elasticsearch:elasticsearch and elasticsearch. It affects 1 product.

PackageAffectedFixed in
org.elasticsearch:elasticsearch MavenAll versions7.17.21
org.elasticsearch:elasticsearch MavenAll versions7.17.21
org.elasticsearch:elasticsearch MavenFrom 8.0.08.13.3
org.elasticsearch:elasticsearch MavenFrom 8.0.08.13.3
elasticsearch BitnamiFrom 7.17.07.17.21, 8.13.3

Products include Elastic Elasticsearch.

How do I fix CVE-2024-43709?

Upgrade org.elasticsearch:elasticsearch to a fixed version for your release line: 7.17.21 or 8.13.3.

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-43709 being exploited?

There is no known exploitation of CVE-2024-43709 in the wild and no public exploit code.

All Elastic Elasticsearch vulnerabilities

Sources

Also known as BIT-elasticsearch-2024-43709, GHSA-jgx4-7v3v-vwfm, MINI-44pf-gfjj-8p6r, MINI-rx5h-c4w4-f659, UBUNTU-CVE-2024-43709.

Is CVE-2024-43709 in your software?

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

Check your SBOMs for free