HIGH 7.5

CVE-2024-7885

Undertow vulnerable to Race Condition

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
io.undertow » undertow-core
< 2.2.36.Final>= 2.3.0.Alpha1, < 2.3.17.Final
2.2.36.Final, 2.3.17.Final

Blast radius

1affected artifacts
414affected versions
5,158dependent artifacts (est.)
170,767dependent versions

67% of the dependent artifacts (3,478) still pull an affected version in their latest release.

DepthDependent versions
Direct
32,579
2 hops
55,250
3 hops
46,531
4 hops
23,756
5 hops
8,409
6 hops
4,242

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Websecurity.netapp.com
Webgithub.com
Webbugzilla.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com