CVE-2024-1635
Undertow: out-of-memory error after several closed connections with wildfly-http-client protocol
- State
- Published
- Severity
- 7.5 High
- Published
- Feb 19, 2024
- Updated
- Oct 7, 2026
- Reserved
- Feb 19, 2024
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat |
Weaknesses
- CWE-400 Uncontrolled Resource Consumption
Affected Products
| Product | Versions |
|---|---|
undertow |
|
Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2Red Hat | |
Red Hat Fuse 7.13.0Red Hat | |
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.4.16Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9Red Hat |
|
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 7Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 8Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 9Red Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
RHSSO 7.6.8Red Hat | |
OpenShift ServerlessRed Hat | |
Red Hat build of Apache Camel 4 for Quarkus 3Red Hat | |
Red Hat build of Apache Camel for Spring Boot 3Red Hat | |
Red Hat build of Apache Camel for Spring Boot 4Red Hat | |
Red Hat build of Apicurio Registry 2Red Hat | |
Red Hat Build of KeycloakRed Hat | |
Red Hat build of OptaPlanner 8Red Hat | |
Red Hat build of QuarkusRed Hat | |
Red Hat build of QuarkusRed Hat | |
Red Hat Data Grid 8Red Hat | |
Red Hat Integration Camel K 1Red Hat | |
Red Hat Integration Camel Quarkus 2Red Hat | |
Red Hat JBoss Data Grid 7Red Hat | |
Red Hat JBoss Enterprise Application Platform 8Red Hat | |
Red Hat JBoss Fuse Service Works 6Red Hat | |
Red Hat Process Automation 7Red Hat | |
streams for Apache KafkaRed Hat |
References
- RHSA-2024:1674vendor-advisory
- RHSA-2024:1675vendor-advisory
- RHSA-2024:1676vendor-advisory
- RHSA-2024:1677vendor-advisory
- RHSA-2024:1860vendor-advisory
- RHSA-2024:1861vendor-advisory
- RHSA-2024:1862vendor-advisory
- RHSA-2024:1864vendor-advisory
- RHSA-2024:1866vendor-advisory
- RHSA-2024:3354vendor-advisory
- RHSA-2024:4884vendor-advisory
- RHSA-2025:4226vendor-advisory
- RHSA-2025:9583vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-1635vdb-entry
- RHBZ#2264928issue-tracking
- https://security.netapp.com/advisory/ntap-20240322-0007/
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.