Skip to content
7.5 High

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:H

Exploitable 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

Show the 21 other branches
Product Affected versions Fixed in
Red Hat Single Sign-On 7.6 for RHEL 8 Versions not published
Red Hat Single Sign-On 7.6 for RHEL 9 Versions not published
RHEL-8 based Middleware Containers 7.6 earliest → < 7.6-46 7.6-46
RHSSO 7.6.8 Versions not published
OpenShift Serverless Versions not published
Red Hat build of Apache Camel 4 for Quarkus 3 Versions not published
Red Hat build of Apache Camel for Spring Boot 3 Versions not published
Red Hat build of Apache Camel for Spring Boot 4 Versions not published
Red Hat build of Apicurio Registry 2 Versions not published
Red Hat Build of Keycloak Versions not published
Red Hat build of OptaPlanner 8 Versions not published
Red Hat build of Quarkus Versions not published
Red Hat Data Grid 8 Versions not published
Red Hat Integration Camel K 1 Versions not published
Red Hat Integration Camel Quarkus 2 Versions not published
Red Hat JBoss Data Grid 7 Versions not published
Red Hat JBoss Enterprise Application Platform 8 Versions not published
Red Hat JBoss Fuse Service Works 6 Versions not published
Red Hat Process Automation 7 Versions not published
streams for Apache Kafka Versions not published
Red Hat JBoss Enterprise Application Platform 7.4.16 2.2 earliest → < 2.2.30.SP1-redhat-00001 2.2.30.SP1-redhat-00001

References

Timeline

  1. Published
  2. Last modified
The 5 CVEs of Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2 →
Track this CVE