CVE-2024-7885
Published: 21 August 2024
Summary
CVE-2024-7885 is a high-severity Race Condition (CWE-362) vulnerability in Redhat Jboss Enterprise Application Platform. Its CVSS base score is 7.5 (High).
Operationally, ranked in the top 6.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2024-7885 affects the Undertow web server, specifically the ProxyProtocolReadListener class and its parseProxyProtocolV1 method. The flaw stems from reuse of a single StringBuilder instance across multiple requests on the same HTTP connection when processing Proxy Protocol V1 headers, which can cause values from one request or response to be erroneously retained or exposed in subsequent exchanges.
An unauthenticated remote attacker can trigger the condition by sending a sequence of requests over a persistent connection that exercises the proxy-protocol path. Successful exploitation may result in unintended data leakage between requests or, more commonly, request-processing errors that terminate the connection, producing a high availability impact as reflected in the CVSS 7.5 rating.
Multiple Red Hat Security Advisories (RHSA-2024:11023, RHSA-2024:6508, RHSA-2024:6883, RHSA-2024:7441, and RHSA-2024:7442) address the issue through updated Undertow packages that correct the StringBuilder handling.
The associated EPSS score has remained essentially flat near 0.11 with only a negligible peak, indicating no material post-disclosure increase in observed exploitation interest.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-2542
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Accurate timestamps from internal clocks enable detection of race conditions by providing reliable event ordering in audit logs.
Coordination of concurrent security activities reduces the probability that shared resources will be accessed simultaneously without proper synchronization.