Elasticsearch _search API Stack Overflow DoS via Crafted Query
CVE-2023-31419 Published on October 26, 2023
Elasticsearch StackOverflow vulnerability
A flaw was discovered in Elasticsearch, affecting the _search API that allowed a specially crafted query string to cause a Stack Overflow and ultimately a Denial of Service.
Vulnerability Analysis
CVE-2023-31419 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Weakness Type
What is a Stack Overflow Vulnerability?
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
CVE-2023-31419 has been classified to as a Stack Overflow vulnerability or weakness.
Products Associated with CVE-2023-31419
Want to know whenever a new CVE is published for Elasticsearch? stack.watch will email you.
Affected Versions
Elasticsearch:- Version 7.0.0 and below 7.17.12 is affected.
- Version 8.0.0 and below 8.9.0 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2023-31419
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | org.opensearch:opensearch | < 1.3.14 | 1.3.14 |
| maven | org.opensearch:opensearch | >= 2.0.0, < 2.11.1 | 2.11.1 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.