VDB
Sign up
HIGH7.5

GHSA-9623-mqmm-5rcf

Undertow vulnerable to Race Condition

Quick fix

GHSA-9623-mqmm-5rcf — io.undertow:undertow-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.2.36.Final</version> for io.undertow:undertow-core

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 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/io.undertow:undertow-core
Introduced in: 0Fixed in: 2.2.36.Final
Fix# pom.xml: bump <version>2.2.36.Final</version> for io.undertow:undertow-core
Maven/io.undertow:undertow-core
Introduced in: 2.3.0.Alpha1Fixed in: 2.3.17.Final
Fix# pom.xml: bump <version>2.3.17.Final</version> for io.undertow:undertow-core

References