Skip to content
OpenAdvisories
High · 7.5 CVE-2024-7885 EUVD-2024-2542GHSA-9623-mqmm-5rcf

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

Published Aug 21, 2024 · Updated Nov 4, 2026 · Assigned by redhat

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 products

VendorProductAffectedFixed
— undertow < 2.2.36.Final, 2.3.0.Alpha1 – < 2.3.17.Final 2.2.36.Final
Red Hat HawtIO 4.0.0 for Red Hat build of Apache Camel 4 — —
Red Hat Red Hat build of Apache Camel 3.20.7 for Spring Boot — —
Red Hat Red Hat build of Apache Camel 4.4.2 for Spring Boot — —
Red Hat Red Hat JBoss Enterprise Application Platform — —
Red Hat Red Hat JBoss Enterprise Application Platform 7 — —
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 — —
Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 — —
Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 — —
Red Hat Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 — —
Red Hat Red Hat JBoss Enterprise Application Platform 8 — —
Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 — —
Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 — —
Red Hat Red Hat build of Apache Camel for Spring Boot 3 — —
Red Hat Red Hat Build of Keycloak — —
Red Hat Red Hat build of Quarkus — —
Red Hat Red Hat Data Grid 8 — —
Red Hat Red Hat Fuse 7 — —
Red Hat Red Hat Integration Camel K 1 — —
Red Hat Red Hat JBoss Data Grid 7 — —
Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack — —
Red Hat Red Hat Process Automation 7 — —
Red Hat Red Hat Single Sign-On 7 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 undertow 2.3.18-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 undertow No fix yet —
Ubuntu 26.04 LTS undertow No fix yet —
Ubuntu 25.10 undertow No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS undertow No fix yet —
Ubuntu Pro 22.04 LTS undertow No fix yet —
Ubuntu Pro 20.04 LTS undertow No fix yet —
Ubuntu Pro 18.04 LTS undertow No fix yet —
Ubuntu Pro 16.04 LTS undertow No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-apache-commons-beanutils 1.11.0-1.redhat_00001.1.el7eap RHSA-2025:16667
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-hornetq +3 2.4.11-1.Final_redhat_00001.1.el7eap RHSA-2025:16667
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jackson-core +4 2.10.4-4.redhat_00008.1.el7eap RHSA-2026:0743
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jackson-databind +2 2.10.4-6.redhat_00008.1.el7eap RHSA-2026:0743
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jackson-datatype-jdk8 +2 2.10.4-3.redhat_00008.1.el7eap RHSA-2026:0743
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jboss-server-migration +21 1.7.2-19.Final_redhat_00020.1.el7eap RHSA-2026:0743, RHSA-2025:16667
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-netty +1 4.1.63-6.Final_redhat_00004.1.el7eap RHSA-2026:0743
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-undertow 2.0.41-5.SP6_redhat_00001.1.el7eap RHSA-2026:0743, RHSA-2025:16667
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-wildfly +4 7.3.15-5.GA_redhat_00003.1.el7eap RHSA-2026:0743, RHSA-2025:16667
Red Hat JBoss EAP 8 eap8-amazon-ion-java 1.11.9-2.redhat_00001.1.el8eap RHSA-2024:7441
Red Hat JBoss EAP 8 eap8-eap-product-conf-parent +1 800.3.1-2.GA_redhat_00002.1.el8eap RHSA-2024:7441
Red Hat JBoss EAP 8 eap8-undertow 2.3.14-2.SP2_redhat_00001.1.el8eap RHSA-2024:7441
Red Hat JBoss EAP 8 eap8-wildfly +4 8.0.3-13.GA_redhat_00007.1.el8eap RHSA-2024:7441
Red Hat JBoss EAP 7 eap7-undertow 2.2.33-2.SP2_redhat_00001.1.el7eap RHSA-2024:7736
Red Hat JBoss EAP 7 eap7-wildfly +4 7.4.18-1.GA_redhat_00003.1.el7eap RHSA-2024:7736
Red Hat JBoss EAP 7 eap7-wildfly-java-jdk17 7.4.18-1.GA_redhat_00003.1.el8eap RHSA-2024:7736

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.undertow:undertow-core < 2.2.36.Final 2.2.36.Final GHSA-9623-mqmm-5rcf
Maven io.undertow:undertow-core >= 2.3.0.Alpha1, < 2.3.17.Final 2.3.17.Final GHSA-9623-mqmm-5rcf

Advisories 9

References