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 Software | Affected Version | How 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 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-1635 is classified as a medium severity vulnerability impacting Undertow servers.
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.
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.
CVE-2024-1635 can lead to denial-of-service conditions, as a malicious user can manipulate HTTP connections.
Yes, CVE-2024-1635 has been publicly disclosed and is referenced in various security advisories.