{"answers":{"affected":"4 open source packages ship an affected version, including org.opensearch:opensearch.","exploited":"There is no known exploitation of GHSA-6g3j-p5g6-992f in the wild and no public exploit code.","fix":"Upgrade org.opensearch:opensearch to a fixed version for your release line: 1.3.14 or 2.11.1.","what":"GHSA-6g3j-p5g6-992f is a denial of service vulnerability in org.opensearch:opensearch, published on 1 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-6g3j-p5g6-992f and fix it if it is affected.\n\nWhat it is: GHSA-6g3j-p5g6-992f is a denial of service vulnerability in org.opensearch:opensearch, published on 1 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-6g3j-p5g6-992f in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.opensearch:opensearch (Maven): affected all versions; fixed in 1.3.14\n- org.opensearch:opensearch (Maven): affected all versions; fixed in 1.3.14\n- org.opensearch:opensearch (Maven): affected from 2.0.0; fixed in 2.11.1\n- org.opensearch:opensearch (Maven): affected from 2.0.0; fixed in 2.11.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-6g3j-p5g6-992f/ (Markdown: https://insights.sbomify.com/GHSA-6g3j-p5g6-992f/index.md)","id":"GHSA-6g3j-p5g6-992f","markdown":"https://insights.sbomify.com/GHSA-6g3j-p5g6-992f/index.md","name":"GHSA-6g3j-p5g6-992f","record":{"aliases":[],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSearch search engine","requires_auth":"none","summary":"A specially crafted query in the OpenSearch _search API causes a Stack Overflow, leading to a Denial of Service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\nA 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.\n\nThe 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).\n\n### Mitigation\nVersions 1.3.14 and 2.11.1 contain a fix for this issue.\n\n### For more information\nIf 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.","ecosystems":["Maven"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"OpenSearch StackOverflow vulnerability","id":"GHSA-6g3j-p5g6-992f","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"Maven","fixed":["1.3.14"],"introduced":["0"],"last_affected":[],"package":"org.opensearch:opensearch","purl":null,"source":"GHSA-6g3j-p5g6-992f"},{"ecosystem":"Maven","fixed":["1.3.14"],"introduced":["0"],"last_affected":[],"package":"org.opensearch:opensearch","purl":"pkg:maven/org.opensearch/opensearch","source":"GHSA-6g3j-p5g6-992f"},{"ecosystem":"Maven","fixed":["2.11.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.opensearch:opensearch","purl":null,"source":"GHSA-6g3j-p5g6-992f"},{"ecosystem":"Maven","fixed":["2.11.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.opensearch:opensearch","purl":"pkg:maven/org.opensearch/opensearch","source":"GHSA-6g3j-p5g6-992f"}],"products":null,"published":"2023-12-01","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A specially crafted query in the OpenSearch _search API causes a Stack Overflow, leading to a Denial of Service.","url":"https://insights.sbomify.com/GHSA-6g3j-p5g6-992f/"}