CVE-2024-1635 Undertow: out-of-memory error after several closed connections with wildfly-http-client protocol
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.
CVSS 3.1 detail
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitable remotely over the network, without an account and without any user action; an attacker can seriously compromise confidentiality, integrity or availability.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- Interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2 | Versions not published | |
| Red Hat Fuse 7.13.0 | Versions not published | |
| Red Hat JBoss Enterprise Application Platform 2.2 | earliest → < 2.2.30.SP1-redhat-00001 | 2.2.30.SP1-redhat-00001 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | Versions not published | |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | Versions not published | |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | Versions not published | |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | Versions not published | |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | Versions not published | |
| Red Hat Single Sign-On 7.6 for RHEL 7 | Versions not published |
Show the 21 other branches Hide the 21 other branches
References
- RHSA-2024:1674 access.redhat.com
- RHSA-2024:1675 access.redhat.com
- RHSA-2024:1676 access.redhat.com
- RHSA-2024:1677 access.redhat.com
- RHSA-2024:1860 access.redhat.com
- RHSA-2024:1861 access.redhat.com
- RHSA-2024:1862 access.redhat.com
- RHSA-2024:1864 access.redhat.com
- RHSA-2024:1866 access.redhat.com
- RHSA-2024:3354 access.redhat.com
- RHSA-2024:4884 access.redhat.com
- RHSA-2025:4226 access.redhat.com
- RHSA-2025:9583 access.redhat.com
- access.redhat.com access.redhat.com
- RHBZ#2264928 bugzilla.redhat.com
Timeline
- Published
- Last modified