Undertow: out-of-memory error after several closed connections with wildfly-http-client protocol
CVE-2024-1635Published 19 Feb 2024, 21:23 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat Enterprise LinuxUbiquitous | not stated | — |
| JBoss Enterprise Application PlatformWidespread | not stated | — |
| KeycloakWidespread | not stated | — |
| Red Hat OpenShift Container PlatformWidespread | not stated | — |
| Red Hat Data Grid 8Common | not stated | — |
| Red Hat Fuse 7Common | not stated | — |
| Red Hat Process Automation 7Common | not stated | — |
| Red Hat build of Apache Camel 4 for Quarkus 3Common | not stated | — |
| Red Hat build of Apache Camel for Spring Boot 4Common | not stated | — |
| Red Hat build of Apicurio Registry 2Common | not stated | — |
| Red Hat build of QuarkusCommon | not stated | — |
| streams for Apache Kafka 3Common | not stated | — |
| RHSSO 7.6.8Niche | not stated | — |
| Red Hat Integration Camel K 1Niche | not stated | — |
| Red Hat Integration Camel Quarkus 2Niche | not stated | — |
| Red Hat JBoss Fuse 6Niche | not stated | — |
| Red Hat build of OptaPlanner 8Niche | not stated | — |
| jboss_data_gridNiche | not stated | — |
| undertowNiche | = 1.31.0 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 4.9% chance of exploitation in 30 days (percentile 92), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 19 Feb 2024 Published
- 3 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-400
References
- https://access.redhat.com/errata/RHSA-2024:1674redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:1675redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:1676redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:1677redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:1860redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:1861redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:1862redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:1864redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:1866redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:3354redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2024:4884redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:4226redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:9583redhat, vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-1635redhat, vdb-entry, x-transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2264928issue-tracking, redhat, x-transferred
- https://security.netapp.com/advisory/ntap-20240322-0007/x-transferred
- CVE-2024-1635 on CVE.org