Vulnerability · Published Oct 26, 2023 · Assigned by elastic

CVE-2023-31419Elasticsearch StackOverflow vulnerability

Medium 6.5

In plain English

A medium-severity stack buffer overflow in Elasticsearch from Elastic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 61.1% (higher than 99.2% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)61.1%top 0.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.elasticsearch:elasticsearch7.17.13GHSA-qwrx-45xf-jjf7
Mavenorg.elasticsearch:elasticsearch8.9.1GHSA-qwrx-45xf-jjf7

Affected products (as reported)

VendorProductVersions
Elastic Elasticsearch 7.0.0 – before 7.17.128.0.0 – before 8.9.0

Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References