CVE-2023-31419

MEDIUM

Elasticsearch 7.0.0-7.17.12 - Denial of Service via _search API Query String

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2023-31419. PoCs published by sqrtZeroKnowledge, u238.

AI-analyzed exploit summary This PoC exploits a Stack Overflow vulnerability in Elasticsearch's _search API by sending maliciously crafted queries with excessively large payloads, leading to a Denial of Service (DoS). The exploit targets Elasticsearch versions 7.0.0 to 7.17.12 and 8.0.0 to 8.9.0.

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.

Exploits (2)

nomisec WORKING POC 18 stars
by sqrtZeroKnowledge · poc
https://github.com/sqrtZeroKnowledge/Elasticsearch-Exploit-CVE-2023-31419

This PoC exploits a Stack Overflow vulnerability in Elasticsearch's _search API by sending maliciously crafted queries with excessively large payloads, leading to a Denial of Service (DoS). The exploit targets Elasticsearch versions 7.0.0 to 7.17.12 and 8.0.0 to 8.9.0.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: Elasticsearch 7.0.0-7.17.12, 8.0.0-8.9.0
Auth required
Prerequisites: Access to Elasticsearch _search API · Valid credentials (default or compromised)
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by u238 · poc
https://github.com/u238/Elasticsearch-CVE-2023-31419

This PoC exploits a DoS vulnerability in Elasticsearch by sending a malformed search query with an excessively long field name, causing the server to crash. The exploit targets CVE-2023-31419 and requires authentication.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: Elasticsearch (versions affected by CVE-2023-31419)
Auth required
Prerequisites: Access to Elasticsearch endpoint · Valid credentials or client certificates
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 6.5
EPSS 0.3513
EPSS Percentile 97.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-121 CWE-787
Status published
Products (2)
elastic/elasticsearch 7.0.0 - 7.17.12
org.elasticsearch/elasticsearch 7.0.0 - 7.17.13Maven
Published Oct 26, 2023
Tracked Since Feb 18, 2026