# CVE-2023-31418: Elasticsearch vulnerable to Uncontrolled Resource Consumption

Source: https://junglewise.ai/threats/cve-2023-31418-elasticsearch-vulnerable-to-uncontrolled-resource-consumption  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-10-26  
License: CC BY 4.0 with a link back

CVE-2023-31418 · Severity: low · CVSS 3.1 · Published 2023-10-26

Elasticsearch vulnerable to Uncontrolled Resource Consumption

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-2023-31418 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-31418 being exploited in the wild.

**How severe is CVE-2023-31418?** Low severity, with a CVSS score of 3.1, published 26 October 2023.

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

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

**Am I affected by CVE-2023-31418?** 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 7.17.13 or later

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


## Affected products

- org.elasticsearch:elasticsearch (Maven) ECOSYSTEM:introduced=0,fixed=7.17.13

## Identifiers

- CVE-2023-31418
- GHSA-2cqf-6xv9-f22w

## 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)
