{"id":"CVE-2023-31419","summary":"Elasticsearch StackOverflow vulnerability","details":"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.","aliases":["BIT-elasticsearch-2023-31419","GHSA-qwrx-45xf-jjf7"],"modified":"2026-08-12T03:51:09.563107859Z","published":"2023-10-26T17:06:14.305Z","database_specific":{"cna_assigner":"elastic","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31419.json","unresolved_ranges":[{"extracted_events":[{"introduced":"7.0.0"},{"fixed":"7.17.12"},{"introduced":"8.0.0"},{"fixed":"8.9.0"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://discuss.elastic.co/t/elasticsearch-8-9-1-7-17-13-security-update/343297"},{"type":"WEB","url":"https://www.elastic.co/community/security"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31419.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31419"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20231116-0010/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/elastic/elasticsearch","events":[{"introduced":"b7e28a7232616c7a21bc879a535d801b8553ba77"},{"last_affected":"e3b0c3d3c5c130e1dc6d567d6baef1c73eeb2059"},{"introduced":"1b6a7ece17463df5ff54a3e1302d825889aa1161"},{"last_affected":"8aa461beb06aa0417a231c345a1b8c38fb498a0d"}],"database_specific":{"cpe":"cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.0.0"},{"last_affected":"7.17.12"},{"introduced":"8.0.0"},{"last_affected":"8.9.0"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-31419.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}