WaratekVRT Sign in

CVE-2023-31419 Elasticsearch

Affected softwareElasticsearch
Severity7.5 High CVSS 3.1 2 scores
Fixed in7.17.13, 8.9.1
WeaknessOut-of-bounds write (CWE-787)
Published26 Oct 2023
Updated17 Jun 2026

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.

CWE-121

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 2 indexed Published artifacts you can open, in GitHub PoC; first seen 2023-09-22.
  • EPSS 61% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Elasticsearch Stack Overflow Vulnerability 17 2023-09-22
GitHub PoC Elasticsearch DoS CVE-2023-31419 exploit 2023-10-03

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.elasticsearch:elasticsearch), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H NVD Primary published
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H security@elastic.co Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.elasticsearch:elasticsearch 7.0.0 7.17.13 unbounded
org.elasticsearch:elasticsearch 8.0.0 8.9.1 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd elastic elasticsearch generic ≥ 7.0.0 and ≤ 7.17.12 · ≥ 8.0.0 and ≤ 8.9.0
osv org.elasticsearch elasticsearch generic ≥ 7.0.0 and < 7.17.13 · ≥ 8.0.0 and < 8.9.1

References

URLTags
https://discuss.elastic.co/t/elasticsearch-8-9-1-7-17-13-security-update/343297 WEB
https://security.netapp.com/advisory/ntap-20231116-0010 WEB
https://www.elastic.co/community/security WEB
https://security.netapp.com/advisory/ntap-20231116-0010/ Third Party Advisory

Timeline

Published2023-10-26By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.