7.5
CWE
400
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2024-1635: Undertow: out-of-memory error after several closed connections with wildfly-http-client protocol

First published: Mon Feb 19 2024(Updated: )

A vulnerability was found in Undertow. This vulnerability impacts a server that supports the wildfly-http-client protocol. Whenever a malicious user opens and closes a connection with the HTTP port of the server and then closes the connection immediately, the server will end with both memory and open file limits exhausted at some point, depending on the amount of memory available. At HTTP upgrade to remoting, the WriteTimeoutStreamSinkConduit leaks connections if RemotingConnection is closed by Remoting ServerConnectionOpenListener. Because the remoting connection originates in Undertow as part of the HTTP upgrade, there is an external layer to the remoting connection. This connection is unaware of the outermost layer when closing the connection during the connection opening procedure. Hence, the Undertow WriteTimeoutStreamSinkConduit is not notified of the closed connection in this scenario. Because WriteTimeoutStreamSinkConduit creates a timeout task, the whole dependency tree leaks via that task, which is added to XNIO WorkerThread. So, the workerThread points to the Undertow conduit, which contains the connections and causes the leak.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
maven/io.undertow:undertow-core<2.2.31.Final
2.2.31.Final
maven/io.undertow:undertow-core>=2.3.0.Final<2.3.12.Final
2.3.12.Final
redhat/undertow<2.3.10.
2.3.10.
redhat/undertow<2.2.30.
2.2.30.
NetApp Active IQ Unified Manager
NetApp Active IQ Unified Manager for VMware vSphere
NetApp Active IQ Unified Manager
NetApp OnCommand Workflow Automation
Red Hat Fuse=1.0
Apache Camel
JBoss Enterprise Application Platform=7.4
Red Hat OpenShift Container Platform=4.11
Red Hat OpenShift Container Platform=4.12
Red Hat OpenShift Container Platform=4.9
Red Hat OpenShift Container Platform=4.10
Red Hat OpenShift Container Platform for Power=4.9
Red Hat OpenShift Container Platform for Power=4.10
Red Hat Single Sign-On
Red Hat Single Sign-On=7.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-1635?

    CVE-2024-1635 is classified as a medium severity vulnerability impacting Undertow servers.

  • How do I fix CVE-2024-1635?

    To mitigate CVE-2024-1635, upgrade Undertow to version 2.3.12.Final or higher if using Maven or 2.3.10 or higher for Red Hat packages.

  • What versions are affected by CVE-2024-1635?

    CVE-2024-1635 affects Undertow versions up to 2.3.10 and 2.2.30, as well as specific vulnerable ranges of 2.2.31.Final and 2.3.0.Final to 2.3.12.Final.

  • What is the impact of CVE-2024-1635 on my server?

    CVE-2024-1635 can lead to denial-of-service conditions, as a malicious user can manipulate HTTP connections.

  • Is CVE-2024-1635 publicly disclosed?

    Yes, CVE-2024-1635 has been publicly disclosed and is referenced in various security advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203