Undertow: improper state management in proxy protocol parsing causes information leakage
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-7885
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- Red Hat would like to thank BfC for reporting this issue.
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
More from Unknown
View All →Affected Vendor
Unknown
View all reports →