CVE-2024-7885 json
Undertow: improper state management in proxy protocol parsing causes information leakage
published 2024-08-21 2 y ago modified 2026-11-04 4 d ago also GHSA-9623-mqmm-5rcf , EUVD-2024-2542
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven io.undertow:undertow-core 2.2.36.Final, 2.3.17.Final
- Red Hat Red Hat JBoss Enterprise Application Platform 2.2.33.SP2-redhat-00001
- Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 0:1.7.2-19.Final_redhat_00020.1.el7eap, 0:1.7.2-20.Final_redhat_00021.1.el7eap, 0:1.11.0-1.redhat_00001.1.el7eap, 0:2.0.41-5.SP6_redhat_00001.1.el7eap, 0:2.0.41-6.SP7_redhat_00001.1.el7eap, 0:2.4.11-1.Final_redhat_00001.1.el7eap, 0:2.10.4-3.redhat_00008.1.el7eap, 0:2.10.4-4.redhat_00008.1.el7eap, 0:2.10.4-6.redhat_00008.1.el7eap, 0:4.1.63-6.Final_redhat_00004.1.el7eap, 0:7.3.15-5.GA_redhat_00003.1.el7eap, 0:7.3.16-3.GA_redhat_00003.1.el7eap
- Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 0:2.2.33-2.SP2_redhat_00001.1.el8eap, 0:7.4.18-1.GA_redhat_00003.1.el8eap
- Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 0:2.2.33-2.SP2_redhat_00001.1.el9eap, 0:7.4.18-1.GA_redhat_00003.1.el9eap
- Red Hat Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 0:2.2.33-2.SP2_redhat_00001.1.el7eap, 0:7.4.18-1.GA_redhat_00003.1.el7eap
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 0:1.11.9-2.redhat_00001.1.el8eap, 0:2.3.14-2.SP2_redhat_00001.1.el8eap, 0:8.0.3-13.GA_redhat_00007.1.el8eap, 0:800.3.1-2.GA_redhat_00002.1.el8eap
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 0:1.11.9-2.redhat_00001.1.el9eap, 0:2.3.14-2.SP2_redhat_00001.1.el9eap, 0:8.0.3-13.GA_redhat_00007.1.el9eap, 0:800.3.1-2.GA_redhat_00002.1.el9eap
- undertow Debian 14 2.3.18-1
debian advisories DEBIAN-CVE-2024-7885
- eap7-wildfly jboss enterprise application platform 7.4 7.4.18-1.GA_redhat_00003.1.el7eap
- eap7-wildfly jboss enterprise application platform 7.4 7.4.18-1.GA_redhat_00003.1.el8eap
- eap7-wildfly jboss enterprise application platform 7.4 7.4.18-1.GA_redhat_00003.1.el9eap
- eap7-undertow jboss enterprise application platform 7.4 2.2.33-2.SP2_redhat_00001.1.el7eap
- eap7-undertow jboss enterprise application platform 7.4 2.2.33-2.SP2_redhat_00001.1.el8eap
- eap7-undertow jboss enterprise application platform 7.4 2.2.33-2.SP2_redhat_00001.1.el9eap
- eap7-wildfly-modules jboss enterprise application platform 7.4 7.4.18-1.GA_redhat_00003.1.el7eap
- eap7-wildfly-modules jboss enterprise application platform 7.4 7.4.18-1.GA_redhat_00003.1.el8eap
red hat advisories RHSA-2026:0743RHSA-2025:16667RHSA-2024:7736RHSA-2024:7441
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-7885 updated cvss 7.5
undertow: Improper State Management in Proxy Protocol parsing causes information leakage
-
Red Hat build of Apache Camel for Spring Boot 3 undertow undertow Red Hat Build of Keycloak undertow undertowaffected: no fix available
-
Red Hat Data Grid 8 undertow undertow Red Hat Fuse 7 undertow undertow Red Hat Integration Camel K 1 undertow undertowaffected: no fix planned “Will not fix”
-
Red Hat JBoss Data Grid 7 undertow undertow Red Hat Process Automation 7 undertow undertowaffected: no fix planned “Out of support scope”
-
Red Hat Single Sign-On 7 undertow undertowaffected: no fix available
-
Red Hat HawtIO 4.0.0 for Red Hat build of Apache Camel 4fixed: vendor fix RHSA-2024:11023
-
Red Hat build of Apache Camel 3.20.7 for Spring Bootfixed: vendor fix RHSA-2024:6883
-
Red Hat build of Apache Camel 4.4.2 for Spring Bootfixed: vendor fix RHSA-2024:6508
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-wildfly 7.4.18-1.GA_redhat_00003.1.el7eap, eap7-undertow 2.2.33-2.SP2_redhat_00001.1.el7eap, eap7-wildfly-modules 7.4.18-1.GA_redhat_00003.1.el7eap, eap7-wildfly-javadocs 7.4.18-1.GA_redhat_00003.1.el7eap, eap7-wildfly-java-jdk8 7.4.18-1.GA_redhat_00003.1.el7eap, eap7-wildfly-java-jdk11 7.4.18-1.GA_redhat_00003.1.el7eap Red Hat JBoss EAP 7.4 for RHEL 8 eap7-wildfly 7.4.18-1.GA_redhat_00003.1.el8eap, eap7-undertow 2.2.33-2.SP2_redhat_00001.1.el8eap, eap7-wildfly-modules 7.4.18-1.GA_redhat_00003.1.el8eap, eap7-wildfly-javadocs 7.4.18-1.GA_redhat_00003.1.el8eap, eap7-wildfly-java-jdk8 7.4.18-1.GA_redhat_00003.1.el8eap, eap7-wildfly-java-jdk11 7.4.18-1.GA_redhat_00003.1.el8eap, +1 more Red Hat JBoss EAP 7.4 for RHEL 9 eap7-wildfly 7.4.18-1.GA_redhat_00003.1.el9eap, eap7-undertow 2.2.33-2.SP2_redhat_00001.1.el9eap, eap7-wildfly-modules 7.4.18-1.GA_redhat_00003.1.el9eap, eap7-wildfly-javadocs 7.4.18-1.GA_redhat_00003.1.el9eap, eap7-wildfly-java-jdk8 7.4.18-1.GA_redhat_00003.1.el9eap, eap7-wildfly-java-jdk11 7.4.18-1.GA_redhat_00003.1.el9eap, +1 morefixed: vendor fix RHSA-2024:7736
show 6 moreshow fewer
-
Red Hat JBoss EAP 8.0 for RHEL 8 eap8-wildfly 8.0.3-13.GA_redhat_00007.1.el8eap, eap8-undertow 2.3.14-2.SP2_redhat_00001.1.el8eap, eap8-amazon-ion-java 1.11.9-2.redhat_00001.1.el8eap, eap8-wildfly-modules 8.0.3-13.GA_redhat_00007.1.el8eap, eap8-wildfly-java-jdk11 8.0.3-13.GA_redhat_00007.1.el8eap, eap8-wildfly-java-jdk17 8.0.3-13.GA_redhat_00007.1.el8eap, +3 more Red Hat JBoss EAP 8.0 for RHEL 9 eap8-wildfly 8.0.3-13.GA_redhat_00007.1.el9eap, eap8-undertow 2.3.14-2.SP2_redhat_00001.1.el9eap, eap8-amazon-ion-java 1.11.9-2.redhat_00001.1.el9eap, eap8-wildfly-modules 8.0.3-13.GA_redhat_00007.1.el9eap, eap8-wildfly-java-jdk11 8.0.3-13.GA_redhat_00007.1.el9eap, eap8-wildfly-java-jdk17 8.0.3-13.GA_redhat_00007.1.el9eap, +3 morefixed: vendor fix RHSA-2024:7441
-
Red Hat JBoss Enterprise Application Platform undertow-core 2.2.33.SP2-redhat-00001fixed: vendor fix RHSA-2024:8080
-
Red Hat JBoss Enterprise Application Platform 7fixed: vendor fix RHSA-2024:7735
-
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Server eap7-wildfly 7.3.15-5.GA_redhat_00003.1.el7eap, eap7-wildfly 7.3.16-3.GA_redhat_00003.1.el7eap, eap7-netty 4.1.63-6.Final_redhat_00004.1.el7eap, eap7-jackson-core 2.10.4-4.redhat_00008.1.el7eap, eap7-undertow 2.0.41-5.SP6_redhat_00001.1.el7eap, eap7-undertow 2.0.41-6.SP7_redhat_00001.1.el7eap, +68 morefixed: vendor fix RHSA-2025:16667
-
Red Hat JBoss Enterprise Application Platform 8fixed: vendor fix RHSA-2024:7442
-
Red Hat build of Quarkus quarkus-undertow Red Hat JBoss Enterprise Application Platform pom.xml, c3 0.6.0, c3 0.7.1, d3 5.9.2, fs 2.1.2, ip 2.0.0, +1561 more Red Hat JBoss Enterprise Application Platform 7 undertow-core Red Hat JBoss Enterprise Application Platform Expansion Pack undertow-corenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
2.64% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | io.undertow:undertow-core | <2.2.36.Final >=2.3.0.Alpha1, <2.3.17.Final |
2.2.36.Final 2.3.17.Final |
Affected products
- Red Hat HawtIO 4.0.0 for Red Hat build of Apache Camel 4
- Red Hat Red Hat build of Apache Camel 3.20.7 for Spring Boot
- Red Hat Red Hat build of Apache Camel 4.4.2 for Spring Boot
- Red Hat Red Hat JBoss Enterprise Application Platform
- Red Hat Red Hat JBoss Enterprise Application Platform 7
- Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
- Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
- Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
- Red Hat Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
- Red Hat Red Hat JBoss Enterprise Application Platform 8
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
- Red Hat Red Hat build of Apache Camel for Spring Boot 3
- Red Hat Red Hat Build of Keycloak
- Red Hat Red Hat build of Quarkus
- Red Hat Red Hat Data Grid 8
- Red Hat Red Hat Fuse 7
- Red Hat Red Hat Integration Camel K 1
- Red Hat Red Hat JBoss Data Grid 7
- Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat Red Hat Process Automation 7
- Red Hat Red Hat Single Sign-On 7
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- Technology feeds
References
-
github.com
/undertow-io/undertow/commit/ce5182c37376982ef0abee34fce0d8c0aab0fab8
web
-
github.com
/undertow-io/undertow/commit/80c125e09068ac52ed0a9acde266ef12f8ed7ae1
web
-
access.redhat.com
/errata/RHSA-2024:11023
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:6508
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:6883
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:7441
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:7442
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:7735
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:7736
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:8080
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2025:16667
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:0743
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2024-7885
vdb-entry, web, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2305290
issue-tracking, web, vendor-advisory
- security.netapp.com /advisory/ntap-20241011-0004/
-
nvd.nist.gov
/vuln/detail/CVE-2024-7885
advisory
-
security.netapp.com
/advisory/ntap-20241011-0004
web
-
github.com
/undertow-io/undertow/blob/182e4ca1543c52f438b0244c930dca3d8b6e68e3/core/src/main/java/io/undertow/server/prot
web
-
github.com
/undertow-io/undertow
package
Sources
- CVE List CVE-2024-7885
- GitHub Advisory GHSA-9623-mqmm-5rcf
- NVD CVE-2024-7885
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.