NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-7885: Undertow vulnerable to Race Condition

highCVSS 4.0 8.7 · 3.1 7.5GHSA-9623-mqmm-5rcf

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.

Published Aug 21, 2024 · Updated Jan 19, 2026

Affected packages

io.undertow:undertow-core

Ecosystem
Maven
Affected
< 2.2.36.Final
Fixed in
2.2.36.Final
Check
mvn dependency:tree -Dincludes=io.undertow:undertow-core

io.undertow:undertow-core

Ecosystem
Maven
Affected
>= 2.3.0.Alpha1, < 2.3.17.Final
Fixed in
2.3.17.Final
Check
mvn dependency:tree -Dincludes=io.undertow:undertow-core

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to jw123023.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries