Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2023-31419 BIT-elasticsearch-2023-31419EUVD-2023-2797GHSA-qwrx-45xf-jjf7

Elasticsearch StackOverflow vulnerability

Published Oct 26, 2023 · Updated Feb 13, 2025 · Assigned by elastic

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
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

References