# CVE-2022-23712: Improper Check for Unusual or Exceptional Conditions in Elasticsearch

Source: https://junglewise.ai/threats/cve-2022-23712-improper-check-for-unusual-or-exceptional-conditions-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-06-07  
License: CC BY 4.0 with a link back

CVE-2022-23712 · Severity: low · CVSS 3.1 · Published 2022-06-07

Improper Check for Unusual or Exceptional Conditions in Elasticsearch

Technologies: [org.elasticsearch:elasticsearch (Maven)](https://junglewise.ai/threats/technologies/org-elasticsearch-elasticsearch). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-23712 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-23712 being exploited in the wild.

**How severe is CVE-2022-23712?** Low severity, with a CVSS score of 3.1, published 7 June 2022.

**Which products and versions are affected?** org.elasticsearch:elasticsearch (Maven) ECOSYSTEM:introduced=8.0.0,fixed=8.2.1.

**Is there a fix for CVE-2022-23712?** Yes. org.elasticsearch:elasticsearch (Maven): upgrade to 8.2.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-23712?** Check whether you run org.elasticsearch:elasticsearch (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.elasticsearch:elasticsearch (Maven): upgrade to 8.2.1 or later

  ```sh
  # set org.elasticsearch:elasticsearch to 8.2.1 in your pom.xml or build.gradle
  ```


## Affected products

- org.elasticsearch:elasticsearch (Maven) ECOSYSTEM:introduced=8.0.0,fixed=8.2.1

## Identifiers

- CVE-2022-23712
- GHSA-wh6w-69xc-5rq5

## Related threats

- [Elasticsearch Uncontrolled Resource Consumption Vulnerability](https://junglewise.ai/threats/cve-2024-52979-elasticsearch-uncontrolled-resource-consumption-vulnerability)
- [Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion](https://junglewise.ai/threats/cve-2024-52981-elasticsearch-vulnerable-to-stack-overflow-due-to-a-large)
- [Elasticsearch allocation of resources without limits or throttling leads to crash](https://junglewise.ai/threats/cve-2024-43709-elasticsearch-allocation-of-resources-without-limits-or)
- [Elasticsearch Incorrect Authorization vulnerability](https://junglewise.ai/threats/cve-2024-12539-elasticsearch-incorrect-authorization-vulnerability)
- [Elasticsearch stores private key on disk unencrypted](https://junglewise.ai/threats/cve-2024-23444-elasticsearch-stores-private-key-on-disk-unencrypted)
