{"answers":{"affected":"4 open source packages ship an affected version, including io.undertow:undertow-core. It affects 9 products.","exploited":"There is no known exploitation of CVE-2024-7885 in the wild and no public exploit code.","fix":"Upgrade io.undertow:undertow-core to a fixed version for your release line: 2.2.36.Final or 2.3.17.Final.","what":"CVE-2024-7885 is a high-severity vulnerability in Redhat Build of Keycloak, published on 21 Aug 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-7885 and fix it if it is affected.\n\nWhat it is: CVE-2024-7885 is a high-severity vulnerability in Redhat Build of Keycloak, published on 21 Aug 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-7885 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.36.Final\n- io.undertow:undertow-core (Maven): affected all versions; fixed in 2.2.36.Final\n- io.undertow:undertow-core (Maven): affected from 2.3.0.Alpha1; fixed in 2.3.17.Final\n- io.undertow:undertow-core (Maven): affected from 2.3.0.Alpha1; fixed in 2.3.17.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-7885/ (Markdown: https://insights.sbomify.com/CVE-2024-7885/index.md)","id":"CVE-2024-7885","markdown":"https://insights.sbomify.com/CVE-2024-7885/index.md","name":"CVE-2024-7885","record":{"aliases":["CLSA-2025-1762992412","DEBIAN-CVE-2024-7885","GHSA-9623-mqmm-5rcf","RHSA-2024:7736","UBUNTU-CVE-2024-7885"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Undertow web server","requires_auth":"none","summary":"Improper state management in Undertow's proxy protocol parsing allows information leakage between requests due to shared StringBuilder instances.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"build_of_apache_camel_-_hawtio","vendor":"redhat"},{"product":"build_of_apache_camel_for_spring_boot","vendor":"redhat"},{"product":"build_of_keycloak","vendor":"redhat"},{"product":"data_grid","vendor":"redhat"},{"product":"integration_camel_k","vendor":"redhat"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"jboss_fuse","vendor":"redhat"},{"product":"process_automation","vendor":"redhat"},{"product":"single_sign-on","vendor":"redhat"}],"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-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across multiple requests. This issue occurs when the parseProxyProtocolV1 method processes multiple requests on the same HTTP connection. As a result, different requests may share the same StringBuilder instance, potentially leading to information leakage between requests or responses. In some cases, a value from a previous request or response may be erroneously reused, which could lead to unintended data exposure. This issue primarily results in errors and connection termination but creates a risk of data leakage in multi-request environments.","ecosystems":["Maven","Red Hat:jboss_enterprise_application_platform:7.4::el7","Red Hat:jboss_enterprise_application_platform:7.4::el8","Red Hat:jboss_enterprise_application_platform:7.4::el9"],"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: improper state management in proxy protocol parsing causes information leakage","id":"CVE-2024-7885","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:build_of_keycloak","products":["redhat:build_of_keycloak","redhat:jboss_enterprise_application_platform","redhat:single_sign-on"],"type":"race_condition","year":"2024"},"n_packages":24,"n_references":12,"next":{"headline":"Scooter Software Beyond Compare 7zxa.dll uncontrolled search path","id":"CVE-2024-7886"},"packages":[{"ecosystem":"Maven","fixed":["2.2.36.Final"],"introduced":["0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":null,"source":"GHSA-9623-mqmm-5rcf"},{"ecosystem":"Maven","fixed":["2.2.36.Final"],"introduced":["0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":"pkg:maven/io.undertow/undertow-core","source":"GHSA-9623-mqmm-5rcf"},{"ecosystem":"Maven","fixed":["2.3.17.Final"],"introduced":["2.3.0.Alpha1"],"last_affected":[],"package":"io.undertow:undertow-core","purl":null,"source":"GHSA-9623-mqmm-5rcf"},{"ecosystem":"Maven","fixed":["2.3.17.Final"],"introduced":["2.3.0.Alpha1"],"last_affected":[],"package":"io.undertow:undertow-core","purl":"pkg:maven/io.undertow/undertow-core","source":"GHSA-9623-mqmm-5rcf"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el7","fixed":["0:2.2.33-2.SP2_redhat_00001.1.el7eap"],"introduced":["0"],"last_affected":[],"package":"eap7-undertow","purl":"pkg:rpm/redhat/eap7-undertow","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el7","fixed":["0:7.4.18-1.GA_redhat_00003.1.el7eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly","purl":"pkg:rpm/redhat/eap7-wildfly","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el7","fixed":["0:7.4.18-1.GA_redhat_00003.1.el7eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-java-jdk11","purl":"pkg:rpm/redhat/eap7-wildfly-java-jdk11","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el7","fixed":["0:7.4.18-1.GA_redhat_00003.1.el7eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-java-jdk8","purl":"pkg:rpm/redhat/eap7-wildfly-java-jdk8","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el7","fixed":["0:7.4.18-1.GA_redhat_00003.1.el7eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-javadocs","purl":"pkg:rpm/redhat/eap7-wildfly-javadocs","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el7","fixed":["0:7.4.18-1.GA_redhat_00003.1.el7eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-modules","purl":"pkg:rpm/redhat/eap7-wildfly-modules","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el8","fixed":["0:2.2.33-2.SP2_redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap7-undertow","purl":"pkg:rpm/redhat/eap7-undertow","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el8","fixed":["0:7.4.18-1.GA_redhat_00003.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly","purl":"pkg:rpm/redhat/eap7-wildfly","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el8","fixed":["0:7.4.18-1.GA_redhat_00003.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-java-jdk11","purl":"pkg:rpm/redhat/eap7-wildfly-java-jdk11","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el8","fixed":["0:7.4.18-1.GA_redhat_00003.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-java-jdk17","purl":"pkg:rpm/redhat/eap7-wildfly-java-jdk17","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el8","fixed":["0:7.4.18-1.GA_redhat_00003.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-java-jdk8","purl":"pkg:rpm/redhat/eap7-wildfly-java-jdk8","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el8","fixed":["0:7.4.18-1.GA_redhat_00003.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-javadocs","purl":"pkg:rpm/redhat/eap7-wildfly-javadocs","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el8","fixed":["0:7.4.18-1.GA_redhat_00003.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-modules","purl":"pkg:rpm/redhat/eap7-wildfly-modules","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el9","fixed":["0:2.2.33-2.SP2_redhat_00001.1.el9eap"],"introduced":["0"],"last_affected":[],"package":"eap7-undertow","purl":"pkg:rpm/redhat/eap7-undertow","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el9","fixed":["0:7.4.18-1.GA_redhat_00003.1.el9eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly","purl":"pkg:rpm/redhat/eap7-wildfly","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el9","fixed":["0:7.4.18-1.GA_redhat_00003.1.el9eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-java-jdk11","purl":"pkg:rpm/redhat/eap7-wildfly-java-jdk11","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el9","fixed":["0:7.4.18-1.GA_redhat_00003.1.el9eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-java-jdk17","purl":"pkg:rpm/redhat/eap7-wildfly-java-jdk17","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el9","fixed":["0:7.4.18-1.GA_redhat_00003.1.el9eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-java-jdk8","purl":"pkg:rpm/redhat/eap7-wildfly-java-jdk8","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el9","fixed":["0:7.4.18-1.GA_redhat_00003.1.el9eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-javadocs","purl":"pkg:rpm/redhat/eap7-wildfly-javadocs","source":"RHSA-2024:7736"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.4::el9","fixed":["0:7.4.18-1.GA_redhat_00003.1.el9eap"],"introduced":["0"],"last_affected":[],"package":"eap7-wildfly-modules","purl":"pkg:rpm/redhat/eap7-wildfly-modules","source":"RHSA-2024:7736"}],"prev":{"headline":"Memory leak when calling a canister method via `ic_cdk::call`","id":"CVE-2024-7884"},"products":["HawtIO 4.0.0 for Red Hat build of Apache Camel 4","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.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 8.0 for RHEL 8","Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9","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.2 for Spring Boot","Red Hat build of Apache Camel for Spring Boot 3","Red Hat build of Quarkus"],"published":"2024-08-21","related":[{"cvss_score":8.7,"headline":"Undertow: undertow: request smuggling via `\\r\\r\\r` as a header block terminator","id":"CVE-2026-28367","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":8.7,"headline":"Undertow: undertow: request smuggling via inconsistent header parsing","id":"CVE-2026-28368","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":8.7,"headline":"Undertow: undertow: request smuggling via malformed http request headers","id":"CVE-2026-28369","kev_date_added":null,"published":"2026-03-27"}],"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["Red Hat"]},"summary":"Improper state management in Undertow's proxy protocol parsing allows information leakage between requests due to shared StringBuilder instances.","url":"https://insights.sbomify.com/CVE-2024-7885/"}