CVE-2024-7885

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

State
Published
Severity
7.5 High
Published
Aug 21, 2024
Updated
Oct 8, 2026
Reserved
Aug 16, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
undertow
  • before 2.2.36.FinalAffected
  • 2.3.0.Alpha1 to before 2.3.17.FinalAffected
HawtIO 4.0.0 for Red Hat build of Apache Camel 4Red Hat
    Red Hat build of Apache Camel 3.20.7 for Spring BootRed Hat
      Red Hat build of Apache Camel 4.4.2 for Spring BootRed Hat
        Red Hat JBoss Enterprise Application PlatformRed Hat
        • 2.2.33.SP2-redhat-00001 and laterNot affected
        Red Hat JBoss Enterprise Application Platform 7Red Hat
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:1.11.0-1.redhat_00001.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:2.4.11-1.Final_redhat_00001.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:1.7.2-19.Final_redhat_00020.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:2.0.41-5.SP6_redhat_00001.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:7.3.15-5.GA_redhat_00003.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:2.10.4-4.redhat_00008.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:2.10.4-4.redhat_00008.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:2.10.4-6.redhat_00008.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:2.10.4-4.redhat_00008.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:2.10.4-6.redhat_00008.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:2.10.4-3.redhat_00008.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:1.7.2-20.Final_redhat_00021.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:4.1.63-6.Final_redhat_00004.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:2.0.41-6.SP7_redhat_00001.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat
          • 0:7.3.16-3.GA_redhat_00003.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8Red Hat
          • 0:2.2.33-2.SP2_redhat_00001.1.el8eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8Red Hat
          • 0:7.4.18-1.GA_redhat_00003.1.el8eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9Red Hat
          • 0:2.2.33-2.SP2_redhat_00001.1.el9eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9Red Hat
          • 0:7.4.18-1.GA_redhat_00003.1.el9eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7Red Hat
          • 0:2.2.33-2.SP2_redhat_00001.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7Red Hat
          • 0:7.4.18-1.GA_redhat_00003.1.el7eap and laterNot affected
          Red Hat JBoss Enterprise Application Platform 8Red Hat
            Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8Red Hat
            • 0:1.11.9-2.redhat_00001.1.el8eap and laterNot affected
            Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8Red Hat
            • 0:800.3.1-2.GA_redhat_00002.1.el8eap and laterNot affected
            Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8Red Hat
            • 0:2.3.14-2.SP2_redhat_00001.1.el8eap and laterNot affected
            Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8Red Hat
            • 0:8.0.3-13.GA_redhat_00007.1.el8eap and laterNot affected
            Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9Red Hat
            • 0:1.11.9-2.redhat_00001.1.el9eap and laterNot affected
            Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9Red Hat
            • 0:800.3.1-2.GA_redhat_00002.1.el9eap and laterNot affected
            Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9Red Hat
            • 0:2.3.14-2.SP2_redhat_00001.1.el9eap and laterNot affected
            Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9Red Hat
            • 0:8.0.3-13.GA_redhat_00007.1.el9eap and laterNot affected
            Red Hat build of Apache Camel for Spring Boot 3Red Hat
              Red Hat build of Apache Camel - HawtIO 4Red Hat
                Red Hat Build of KeycloakRed Hat
                  Red Hat build of QuarkusRed Hat
                    Red Hat Data Grid 8Red Hat
                      Red Hat Fuse 7Red Hat
                        Red Hat Integration Camel K 1Red Hat
                          Red Hat JBoss Data Grid 7Red Hat
                            Red Hat JBoss Enterprise Application Platform 7Red Hat
                              Red Hat JBoss Enterprise Application Platform Expansion PackRed Hat
                                Red Hat Process Automation 7Red Hat
                                  Red Hat Single Sign-On 7Red Hat

                                    References

                                    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.