{"answers":{"affected":"4 open source packages ship an affected version, including io.undertow:undertow-core.","exploited":"There is no known exploitation of CVE-2024-5971 in the wild and no public exploit code.","fix":"Upgrade io.undertow:undertow-core to a fixed version for your release line: 2.2.34.Final or 2.3.15.Final.","what":"CVE-2024-5971 is a high-severity denial of service vulnerability in Red Hat Build of Keycloak, published on 8 Jul 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-2024-5971 and fix it if it is affected.\n\nWhat it is: CVE-2024-5971 is a high-severity denial of service vulnerability in Red Hat Build of Keycloak, published on 8 Jul 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-2024-5971 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.undertow:undertow-core (Maven): affected all versions; fixed in 2.2.34.Final\n- io.undertow:undertow-core (Maven): affected all versions; fixed in 2.2.34.Final\n- io.undertow:undertow-core (Maven): affected from 2.3.0.Alpha1; fixed in 2.3.15.Final\n- io.undertow:undertow-core (Maven): affected from 2.3.0.Alpha1; fixed in 2.3.15.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-2024-5971/ (Markdown: https://insights.sbomify.com/CVE-2024-5971/index.md)","id":"CVE-2024-5971","markdown":"https://insights.sbomify.com/CVE-2024-5971/index.md","name":"CVE-2024-5971","record":{"aliases":["CLSA-2026-1775435425","DEBIAN-CVE-2024-5971","GHSA-xpp6-8r3j-ww43","UBUNTU-CVE-2024-5971"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Undertow web server","requires_auth":"none","summary":"Undertow fails to terminate chunked responses in Java 17 TLSv1.3, causing clients to hang and leading to server-side resource exhaustion and denial of service.","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-674","name":"Uncontrolled Recursion"}],"description":"A vulnerability was found in Undertow, where the chunked response hangs after the body was flushed. The response headers and body were sent but the client would continue waiting as Undertow does not send the expected 0\\r\\n termination of the chunked response. This results in uncontrolled resource consumption, leaving the server side to a denial of service attack. This happens only with Java 17 TLSv1.3 scenarios.","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":"Undertow: response write hangs in case of java 17 tlsv1.3 newsessionticket","id":"CVE-2024-5971","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":4,"n_references":10,"next":{"headline":"CVE ID issued in error.","id":"CVE-2024-5972"},"packages":[{"ecosystem":"Maven","fixed":["2.2.34.Final"],"introduced":["0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":null,"source":"GHSA-xpp6-8r3j-ww43"},{"ecosystem":"Maven","fixed":["2.2.34.Final"],"introduced":["0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":"pkg:maven/io.undertow/undertow-core","source":"GHSA-xpp6-8r3j-ww43"},{"ecosystem":"Maven","fixed":["2.3.15.Final"],"introduced":["2.3.0.Alpha1"],"last_affected":[],"package":"io.undertow:undertow-core","purl":null,"source":"GHSA-xpp6-8r3j-ww43"},{"ecosystem":"Maven","fixed":["2.3.15.Final"],"introduced":["2.3.0.Alpha1"],"last_affected":[],"package":"io.undertow:undertow-core","purl":"pkg:maven/io.undertow/undertow-core","source":"GHSA-xpp6-8r3j-ww43"}],"prev":{"headline":"MaxGalleria \u003c= 6.4.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via maxgallery_thumb Shortcode","id":"CVE-2024-5970"},"products":["Red Hat Build of Keycloak","Red Hat Data Grid 8","Red Hat Fuse 7","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","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 Process Automation 7","Red Hat Single Sign-On 7","Red Hat build of Apache Camel - HawtIO 4","Red Hat build of Apache Camel 3.20.7 for Spring Boot","Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2","Red Hat build of Apache Camel 4.4.2 for Spring Boot","Red Hat build of Apache Camel for Spring Boot 3","Red Hat build of Quarkus"],"published":"2024-07-08","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-04","vendors":["Red Hat"]},"summary":"Undertow fails to terminate chunked responses in Java 17 TLSv1.3, causing clients to hang and leading to server-side resource exhaustion and denial of service.","url":"https://insights.sbomify.com/CVE-2024-5971/"}