# GHSA-6g3j-p5g6-992f: OpenSearch StackOverflow vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-12-01T19:23:32.000Z
- Modified: 2024-12-06T05:33:07.576Z

## Description

### Impact
A flaw was discovered in OpenSearch, affecting the `_search` API that allowed a specially crafted query string to cause a Stack Overflow and ultimately a Denial of Service.

The issue was identified by Elastic Engineering and corresponds to security advisory [ESA-2023-14](https://discuss.elastic.co/t/elasticsearch-8-9-1-7-17-13-security-update/343297) (CVE-2023-31419).

### Mitigation
Versions 1.3.14 and 2.11.1 contain a fix for this issue.

### For more information
If you have any questions or comments about this advisory, please contact AWS/Amazon Security via our issue reporting page (https://aws.amazon.com/security/vulnerability-reporting/) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.

(As written by GitHub Advisory Database.)

## Affected

- org.opensearch:opensearch (Maven): before 1.3.14; from 2.0.0 before 2.11.1

## References

- <https://github.com/opensearch-project/OpenSearch/security/advisories/GHSA-6g3j-p5g6-992f> (web)
- <https://github.com/opensearch-project/OpenSearch> (package)

## Sources

- GitHub Advisory Database: [GHSA-6g3j-p5g6-992f](https://github.com/advisories/GHSA-6g3j-p5g6-992f), CC-BY-4.0, modified 2024-12-06

---

Page: https://cve.day/GHSA-6g3j-p5g6-992f · Whole record: https://cve.day/GHSA-6g3j-p5g6-992f.json · Rebuilt by cve.day 2026-11-25T22:56:27.014Z
