{"answers":{"affected":"2 open source packages ship an affected version, including org.jboss.xnio:xnio-api.","exploited":"There is no known exploitation of CVE-2023-5685 in the wild and no public exploit code.","fix":"Upgrade org.jboss.xnio:xnio-api to 3.8.14.Final or later.","what":"CVE-2023-5685 is a high-severity denial of service vulnerability in Red Hat Build of Keycloak, published on 22 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-5685 and fix it if it is affected.\n\nWhat it is: CVE-2023-5685 is a high-severity denial of service vulnerability in Red Hat Build of Keycloak, published on 22 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-5685 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jboss.xnio:xnio-api (Maven): affected all versions; fixed in 3.8.14.Final\n- org.jboss.xnio:xnio-api (Maven): affected all versions; fixed in 3.8.14.Final\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/CVE-2023-5685/ (Markdown: https://insights.sbomify.com/CVE-2023-5685/index.md)","id":"CVE-2023-5685","markdown":"https://insights.sbomify.com/CVE-2023-5685/index.md","name":"CVE-2023-5685","record":{"aliases":["CLSA-2026-1771978226","CLSA-2026-1780620672","DEBIAN-CVE-2023-5685","GHSA-7f88-5hhx-67m2","UBUNTU-CVE-2023-5685"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"XNIO library","requires_auth":"none","summary":"An attacker can cause a denial of service by triggering a stack overflow in the XNIO library through large notifier state chains.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"A flaw was found in XNIO. The XNIO NotifierState that can cause a Stack Overflow Exception when the chain of notifier states becomes problematically large can lead to uncontrolled resource management and a possible denial of service (DoS).","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Xnio: stackoverflowexception when the chain of notifier states becomes problematically big","id":"CVE-2023-5685","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":2,"n_references":9,"next":{"headline":"Heap-based Buffer Overflow in radareorg/radare2","id":"CVE-2023-5686"},"packages":[{"ecosystem":"Maven","fixed":["3.8.14.Final"],"introduced":["0"],"last_affected":[],"package":"org.jboss.xnio:xnio-api","purl":null,"source":"GHSA-7f88-5hhx-67m2"},{"ecosystem":"Maven","fixed":["3.8.14.Final"],"introduced":["0"],"last_affected":[],"package":"org.jboss.xnio:xnio-api","purl":"pkg:maven/org.jboss.xnio/xnio-api","source":"GHSA-7f88-5hhx-67m2"}],"prev":{"headline":"Byzoro Smart S85F Management Platform importexport.php os command injection","id":"CVE-2023-5684"},"products":["Red Hat Build of Keycloak","Red Hat Data Grid 8","Red Hat Integration Camel K 1","Red Hat JBoss Data Grid 7","Red Hat JBoss Enterprise Application Platform","Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7","Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7","Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8","Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9","Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7","Red Hat JBoss Enterprise Application Platform 8","Red Hat JBoss Enterprise Application Platform Expansion Pack","Red Hat JBoss Fuse Service Works 6","Red Hat Process Automation 7","Red Hat Single Sign-On 7","Red Hat build of Apache Camel - HawtIO 4","Red Hat build of Apache Camel 4.4.0 for Spring Boot","Red Hat build of Apache Camel for Spring Boot 3"],"published":"2024-03-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["Red Hat"]},"summary":"An attacker can cause a denial of service by triggering a stack overflow in the XNIO library through large notifier state chains.","url":"https://insights.sbomify.com/CVE-2023-5685/"}