# CVE-2024-7885: Undertow: improper state management in proxy protocol parsing causes information leakage

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.76%, higher than 91% of CVEs (2026-11-30)
- Published: 2024-08-21T14:13:36.579Z
- Modified: 2026-11-27T08:16:38.153Z
- Also known as: GHSA-9623-mqmm-5rcf
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- undertow: before 2.2.36.Final; from 2.3.0.Alpha1 before 2.3.17.Final
- undertow-core: no versions given
- io.undertow/undertow-core: no versions given (not affected: from 2.2.37.SP2-redhat-00001 before *; from 2.2.33.SP2-redhat-00001 before *)
- eap7-apache-commons-beanutils: no versions given (not affected: from 0:1.11.0-1.redhat_00001.1.el7eap before *)
- eap7-hornetq: no versions given (not affected: from 0:2.4.11-1.Final_redhat_00001.1.el7eap before *)
- eap7-jboss-server-migration: no versions given (not affected: from 0:1.7.2-19.Final_redhat_00020.1.el7eap before *; from 0:1.7.2-20.Final_redhat_00021.1.el7eap before *)
- eap7-undertow: no versions given (not affected: from 0:2.0.41-5.SP6_redhat_00001.1.el7eap before *; from 0:2.0.41-6.SP7_redhat_00001.1.el7eap before *; from 0:2.2.33-2.SP2_redhat_00001.1.el8eap before *; from 0:2.2.33-2.SP2_redhat_00001.1.el9eap before *; from 0:2.2.33-2.SP2_redhat_00001.1.el7eap before *)
- eap7-wildfly: no versions given (not affected: from 0:7.3.15-5.GA_redhat_00003.1.el7eap before *; from 0:7.3.16-3.GA_redhat_00003.1.el7eap before *; from 0:7.4.18-1.GA_redhat_00003.1.el8eap before *; from 0:7.4.18-1.GA_redhat_00003.1.el9eap before *; from 0:7.4.18-1.GA_redhat_00003.1.el7eap before *)
- eap7-jackson-annotations: no versions given (not affected: from 0:2.10.4-4.redhat_00008.1.el7eap before *)
- eap7-jackson-core: no versions given (not affected: from 0:2.10.4-4.redhat_00008.1.el7eap before *)
- eap7-jackson-databind: no versions given (not affected: from 0:2.10.4-6.redhat_00008.1.el7eap before *)
- eap7-jackson-jaxrs-providers: no versions given (not affected: from 0:2.10.4-4.redhat_00008.1.el7eap before *)
- eap7-jackson-modules-base: no versions given (not affected: from 0:2.10.4-6.redhat_00008.1.el7eap before *)
- eap7-jackson-modules-java8: no versions given (not affected: from 0:2.10.4-3.redhat_00008.1.el7eap before *)
- eap7-netty: no versions given (not affected: from 0:4.1.63-6.Final_redhat_00004.1.el7eap before *)
- eap8-amazon-ion-java: no versions given (not affected: from 0:1.11.9-2.redhat_00001.1.el8eap before *; from 0:1.11.9-2.redhat_00001.1.el9eap before *)
- eap8-eap-product-conf-parent: no versions given (not affected: from 0:800.3.1-2.GA_redhat_00002.1.el8eap before *; from 0:800.3.1-2.GA_redhat_00002.1.el9eap before *)
- eap8-undertow: no versions given (not affected: from 0:2.3.14-2.SP2_redhat_00001.1.el8eap before *; from 0:2.3.14-2.SP2_redhat_00001.1.el9eap before *)
- eap8-wildfly: no versions given (not affected: from 0:8.0.3-13.GA_redhat_00007.1.el8eap before *; from 0:8.0.3-13.GA_redhat_00007.1.el9eap before *)
- quarkus-undertow: no versions given
- io.undertow:undertow-core (Maven): before 2.2.36.Final; from 2.3.0.Alpha1 before 2.3.17.Final
- redhat build_of_apache_camel_-_hawtio: no versions given
- redhat build_of_apache_camel_for_spring_boot: no versions given
- redhat build_of_keycloak: no versions given
- redhat data_grid: 8.0.0
- redhat integration_camel_k: no versions given
- redhat jboss_enterprise_application_platform: 7.0.0; 8.0.0
- redhat jboss_fuse: 7.0.0
- redhat process_automation: 7.0
- redhat single_sign-on: 7.0

## Every score

- redhat: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2024:11023> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6508> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6883> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:7441> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:7442> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:7735> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:7736> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8080> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:16667> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:0743> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2024-7885> (vdb-entry, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2305290> (issue-tracking, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20241011-0004/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-7885> (advisory)
- <https://github.com/undertow-io/undertow/commit/ce5182c37376982ef0abee34fce0d8c0aab0fab8> (web)
- <https://github.com/undertow-io/undertow/commit/80c125e09068ac52ed0a9acde266ef12f8ed7ae1> (web)
- <https://security.netapp.com/advisory/ntap-20241011-0004> (web)
- <https://github.com/undertow-io/undertow/blob/182e4ca1543c52f438b0244c930dca3d8b6e68e3/core/src/main/java/io/undertow/server/protocol/proxy/ProxyProtocolReadListener.java> (web)
- <https://github.com/undertow-io/undertow> (package)

## Sources

- CVE List: [CVE-2024-7885](https://www.cve.org/CVERecord?id=CVE-2024-7885), CVE Terms of Use, modified 2026-11-27
- GitHub Advisory Database: [GHSA-9623-mqmm-5rcf](https://github.com/advisories/GHSA-9623-mqmm-5rcf), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2024-7885](https://nvd.nist.gov/vuln/detail/CVE-2024-7885), Public domain, modified 2026-11-27

---

Page: https://cve.day/CVE-2024-7885 · Whole record: https://cve.day/CVE-2024-7885.json · Rebuilt by cve.day 2026-11-27T08:17:33.285Z
