Undertow vulnerable to Race Condition
GHSA-9623-mqmm-5rcf · CVE-2024-7885
Published · Modified
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2024-7885
- WEB 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
- PACKAGE https://github.com/undertow-io/undertow
- WEB https://bugzilla.redhat.com/show_bug.cgi?id=2305290
- WEB https://access.redhat.com/security/cve/CVE-2024-7885
- WEB https://access.redhat.com/errata/RHSA-2026:0743
- WEB https://access.redhat.com/errata/RHSA-2025:16667
- WEB https://access.redhat.com/errata/RHSA-2024:8080
- WEB https://access.redhat.com/errata/RHSA-2024:7736
- WEB https://access.redhat.com/errata/RHSA-2024:7735
- WEB https://access.redhat.com/errata/RHSA-2024:7442
- WEB https://access.redhat.com/errata/RHSA-2024:7441
- WEB https://access.redhat.com/errata/RHSA-2024:6883
- WEB https://access.redhat.com/errata/RHSA-2024:6508
- WEB https://access.redhat.com/errata/RHSA-2024:11023
Ready to move
Start Securing
Free, no credit card | First findings in minutes