CVE-2023-31419: elastic elasticsearch Stack-based Buffer Overflow
CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2023-31419GHSA-qwrx-45xf-jjf7BIT-elasticsearch-2023-31419
Published 26-10-2023Last modified 13-02-2025
Vulnerability summary
CVE-2023-31419 is a high (CVSS 7.5) Stack-based Buffer Overflow vulnerability in elastic elasticsearch. EPSS estimates a 61.73% chance of exploitation in the next 30 days, higher than 99.1% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
61.73%
0%100%
Critical · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 26-10-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 versionHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSources4 sources · 6.5–7.5
- CVE.orgCNA6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
61.73%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
0.00 pp
From 61.73% on 21-09-2026
21-09-202621-10-2026
EPSS score61.73%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA 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).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Elastic1 product
- elasticsearch≥ 7.0.0, < 7.17.12 | ≥ 8.0.0, < 8.9.0 | ≥ 7.0.0, ≤ 7.17.12 | ≥ 8.0.0, ≤ 8.9.0
Org.elasticsearch1 product
- elasticsearch≥ 7.0.0, < 7.17.13 | ≥ 8.0.0, < 8.9.1
Ubuntu1 product
- elasticsearchAll versions (No fix recorded)
3 vendors · 3 products
References
7 links- security.netapp.com/advisory/ntap-20231116-0010/Third Party Advisory