GHSA-9623-mqmm-5rcf

Undertow vulnerable to Race Condition

At a glance

Published
Updated
CVE
CVE-2024-7885
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

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 packages

PackageVersions
Maven · io.undertow:undertow-coreintroduced 0, fixed 2.2.36.Final
Maven · io.undertow:undertow-coreintroduced 2.3.0.Alpha1, fixed 2.3.17.Final

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database