CVE-2024-1635
Undertow: out-of-memory error after several closed connections with wildfly-http-client protocol
Also known as GHSA-w6qf-42m7-vh68
Mitigation
- Upgrade io.undertow:undertow-core to one of 2.3.12.Final, 2.2.31.Final (or later in the same release line).
- Vendor workaround: No mitigation is currently available for this vulnerability. However, there might be some protections, such as request limits by a load balancer in front of JBoss EAP/Wildfly or even Undertow, that could minimize the impact.
Who should check
- Projects that depend on Maven package io.undertow:undertow-core (>= 2.3.0.Final, < 2.3.12.Final)
- Anyone running undertow 1.31.0
- Anyone running Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2 (versions: see the vendor advisory)
- Anyone running Red Hat Fuse 7.13.0 (versions: see the vendor advisory)
- Anyone running Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.4.16 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 all versions
Vulnerability facts
- Affected
- io.undertow:undertow-core >= 2.3.0.Final, < 2.3.12.Final
- Fixed in
- 2.3.12.Final, 2.2.31.Final
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 6.17% chance of exploitation in 30 days (percentile 94, 2026-11-26)
- CWE
- CWE-400
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-1635. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-1635.md Affected: io.undertow:undertow-core >= 2.3.0.Final, < 2.3.12.Final Fixed in: 2.3.12.Final, 2.2.31.Final Steps: 1. Search this machine and project for io.undertow:undertow-core (Maven), undertow, Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2, Red Hat Fuse 7.13.0, Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7, Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://access.redhat.com/errata/RHSA-2024:1674
- https://access.redhat.com/errata/RHSA-2024:1675
- https://access.redhat.com/errata/RHSA-2024:1676
- https://access.redhat.com/errata/RHSA-2024:1677
- https://access.redhat.com/errata/RHSA-2024:1860
- https://access.redhat.com/errata/RHSA-2024:1861
- https://access.redhat.com/errata/RHSA-2024:1862
- https://access.redhat.com/errata/RHSA-2024:1864
- https://access.redhat.com/errata/RHSA-2024:1866
- https://access.redhat.com/errata/RHSA-2024:3354
- https://access.redhat.com/errata/RHSA-2024:4884
- https://access.redhat.com/errata/RHSA-2025:4226
- https://access.redhat.com/errata/RHSA-2025:9583
- https://security.netapp.com/advisory/ntap-20240322-0007/
- https://nvd.nist.gov/vuln/detail/CVE-2024-1635
Patches
FAQ
Is CVE-2024-1635 being exploited?
There is no confirmed exploitation: CVE-2024-1635 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-1635?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-1635?
io.undertow:undertow-core >= 2.3.0.Final, < 2.3.12.Final.
Is there a fix for CVE-2024-1635?
Yes. Fixed in 2.3.12.Final, 2.2.31.Final. Upgrade io.undertow:undertow-core to one of 2.3.12.Final, 2.2.31.Final (or later in the same release line). Vendor workaround: No mitigation is currently available for this vulnerability. However, there might be some protections, such as request limits by a load balancer in front of JBoss EAP/Wildfly or even Undertow, that could minimize the impact.
How do I check if I'm affected by CVE-2024-1635?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.