CVE-2022-23712 Improper Check for Unusual or Exceptional Conditions in Elasticsearch
An unauthenticated attacker can forcibly shut down an Elasticsearch node via a specifically formatted network request, causing service disruption.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-23712?
CVE-2022-23712 is a high-severity denial of service vulnerability in Elastic Elasticsearch, published on 6 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A Denial of Service flaw was discovered in Elasticsearch. Using this vulnerability, an unauthenticated attacker could forcibly shut down an Elasticsearch node with a specifically formatted network request.
Weakness: CWE-754
Which versions are affected by CVE-2022-23712?
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.0.0 | 8.2.1 |
org.elasticsearch:elasticsearch Maven | From 8.0.0 | 8.2.1 |
elasticsearch Bitnami | From 8.0.0 | 8.2.1 |
Products include Elastic Elasticsearch.
How do I fix CVE-2022-23712?
Upgrade org.elasticsearch:elasticsearch to 8.2.1 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-2022-23712 being exploited?
There is no known exploitation of CVE-2022-23712 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-2022-23712, GHSA-wh6w-69xc-5rq5.