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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Elastic | Elasticsearch | 7.0.0 – < 7.17.12, 8.0.0 – < 8.9.0 | 7.17.12 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | elasticsearch | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
sqrtZeroKnowledge/Elasticsearch-Exploit-CVE-2023-31419 ★ 17 · Sep 22, 2023
Elasticsearch Stack Overflow Vulnerability
-
u238/Elasticsearch-CVE-2023-31419 ★ 0 · Oct 3, 2023
Elasticsearch DoS CVE-2023-31419 exploit
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.elasticsearch:elasticsearch | >= 7.0.0, < 7.17.13 | 7.17.13 | GHSA-qwrx-45xf-jjf7 |
| Maven | org.elasticsearch:elasticsearch | >= 8.0.0, < 8.9.1 | 8.9.1 | GHSA-qwrx-45xf-jjf7 |
Advisories 1
- WID-SEC-2023-2387 Elasticsearch: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Feb 8, 2024