CVE-2024-7885
JSON

7.5high

Undertow: improper state management in proxy protocol parsing causes information leakage

Severity
7.5high CVSS:3.1 by redhat
Exploit likelihood
3.76% (higher than 91% of CVEs)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-9623-mqmm-5rcf

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

Product or packageVersionsReported by
undertowbefore 2.2.36.Final, from 2.3.0.Alpha1 before 2.3.17.FinalCVE List
undertow-coreNot specifiedCVE List
io.undertow/undertow-coreNot specified
Not affected: from 2.2.37.SP2-redhat-00001 before *, from 2.2.33.SP2-redhat-00001 before *
CVE List
eap7-apache-commons-beanutilsNot specified
Not affected: from 0:1.11.0-1.redhat_00001.1.el7eap before *
CVE List
eap7-hornetqNot specified
Not affected: from 0:2.4.11-1.Final_redhat_00001.1.el7eap before *
CVE List
eap7-jboss-server-migrationNot specified
Not affected: from 0:1.7.2-19.Final_redhat_00020.1.el7eap before *, from 0:1.7.2-20.Final_redhat_00021.1.el7eap before *
CVE List
eap7-undertowNot specified
Not affected: from 0:2.0.41-5.SP6_redhat_00001.1.el7eap before *, from 0:2.0.41-6.SP7_redhat_00001.1.el7eap before *, from 0:2.2.33-2.SP2_redhat_00001.1.el8eap before *, from 0:2.2.33-2.SP2_redhat_00001.1.el9eap before *, from 0:2.2.33-2.SP2_redhat_00001.1.el7eap before *
CVE List
eap7-wildflyNot specified
Not affected: from 0:7.3.15-5.GA_redhat_00003.1.el7eap before *, from 0:7.3.16-3.GA_redhat_00003.1.el7eap before *, from 0:7.4.18-1.GA_redhat_00003.1.el8eap before *, from 0:7.4.18-1.GA_redhat_00003.1.el9eap before *, from 0:7.4.18-1.GA_redhat_00003.1.el7eap before *
CVE List
eap7-jackson-annotationsNot specified
Not affected: from 0:2.10.4-4.redhat_00008.1.el7eap before *
CVE List
eap7-jackson-coreNot specified
Not affected: from 0:2.10.4-4.redhat_00008.1.el7eap before *
CVE List
eap7-jackson-databindNot specified
Not affected: from 0:2.10.4-6.redhat_00008.1.el7eap before *
CVE List
eap7-jackson-jaxrs-providersNot specified
Not affected: from 0:2.10.4-4.redhat_00008.1.el7eap before *
CVE List

All scores

redhat7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se encontró una vulnerabilidad en Undertow donde ProxyProtocolReadListener reutiliza la misma instancia de StringBuilder en múltiples solicitudes. Este problema ocurre cuando el método parseProxyProtocolV1 procesa múltiples solicitudes en la misma conexión HTTP. Como resultado, diferentes solicitudes pueden compartir la misma instancia de StringBuilder, lo que podría provocar una fuga de información entre solicitudes o respuestas. En algunos casos, un valor de una solicitud o respuesta anterior puede reutilizarse por error, lo que podría provocar una exposición no deseada de los datos. Este problema produce principalmente errores y terminación de la conexión, pero crea un riesgo de fuga de datos en entornos de solicitudes múltiples.

References

https://access.redhat.com/errata/RHSA-2024:11023vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:6508vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:6883vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:7441vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:7442vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:7735vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:7736vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:8080vendor-advisory, web
https://access.redhat.com/errata/RHSA-2025:16667vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:0743vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2024-7885vdb-entry, vendor-advisory, web
https://bugzilla.redhat.com/show_bug.cgi?id=2305290issue-tracking, vendor-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2024-7885 changed 2026-11-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-9623-mqmm-5rcf changed 2026-02-03CC-BY-4.0
NVDCVE-2024-7885 changed 2026-11-27Public domain