Patchfirst
CVE-2023-31419 Public exploit Medium · 6.5 EPSS 61.1%

Elasticsearch StackOverflow vulnerability

Elastic · Elasticsearch

Summary

The flaw is a stack overflow in the _search API of Elastic's Elasticsearch, triggered when the server processes a specially crafted query string. The attacker needs to be able to send search requests to the API, and the exploit requires low privileges and no user interaction, resulting in a denial of service.

Official description · CVE.org

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.

Breakdown
29.4 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) was available 34 days before disclosure.

  1. Public exploit codePoC-in-GitHub34 days before
  2. Disclosedday 0

7 fixes in elasticsearch over 2 years. The latest fix listed for elasticsearch is 8.11.1.

Fixes in elasticsearchMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 7.17.1CVE-2022-237083 Mar 2022
  2. 8.2.1CVE-2022-237126 Jun 2022
  3. 8.9.0CVE-2023-3141826 Oct 2023
  4. 8.9.1CVE-2023-3141926 Oct 2023
  5. 8.9.2CVE-2023-3141726 Oct 2023
  6. 8.10.3CVE-2023-4667322 Nov 2023
  7. 8.11.1CVE-2024-2344929 Mar 2024Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.elasticsearch:elasticsearch.

Mavenorg.elasticsearch:elasticsearchGHSA-qwrx-45xf-jjf7

Upgrade to 8.9.1 or later

Set the version to 8.9.1 or later in your pom.xml or build.gradle.

The first fix for CVE-2023-31419.

Affected versions, by release line

If you runUpgrade to
8.0.0 up to 8.9.18.9.1
7.0.0 up to 7.17.137.17.13

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close