# CVE-2024-1635: Undertow: out-of-memory error after several closed connections with wildfly-http-client protocol

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 6.17% (percentile 94, 2026-11-26)
- **CWE:** CWE-400
- **Aliases:** GHSA-w6qf-42m7-vh68
- **Published:** 2024-02-19T21:23:14.496Z
- **Modified:** 2026-11-27T08:16:36.413Z

## 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

## 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

- Maven `io.undertow:undertow-core`: affected \>= 2.3.0.Final, \< 2.3.12.Final; fixed 2.3.12.Final, 2.2.31.Final (osv)
- undertow: 1.31.0 (cvelist)
- Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2: see vendor advisory (cvelist)
- Red Hat Fuse 7.13.0: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4.16: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7: all versions (cvelist)
- Red Hat Single Sign-On 7.6 for RHEL 7: all versions (cvelist)
- Red Hat Single Sign-On 7.6 for RHEL 8: all versions (cvelist)
- Red Hat Single Sign-On 7.6 for RHEL 9: all versions (cvelist)
- Red Hat RHEL-8 based Middleware Containers: all versions (cvelist)
- Red Hat RHSSO 7.6.8: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat build of Apache Camel 4 for Quarkus 3: see vendor advisory (cvelist)
- Red Hat build of Apache Camel for Spring Boot 3: see vendor advisory (cvelist)
- Red Hat build of Apache Camel for Spring Boot 4: all versions (cvelist)
- Red Hat build of Apicurio Registry 2: see vendor advisory (cvelist)
- Red Hat Build of Keycloak: see vendor advisory (cvelist)
- Red Hat build of OptaPlanner 8: see vendor advisory (cvelist)
- Red Hat build of Quarkus: see vendor advisory (cvelist)
- Red Hat build of Quarkus: see vendor advisory (cvelist)
- Red Hat Data Grid 8: see vendor advisory (cvelist)
- Red Hat Integration Camel K 1: see vendor advisory (cvelist)
- Red Hat Integration Camel Quarkus 2: see vendor advisory (cvelist)
- Red Hat JBoss Data Grid 7: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform 8: see vendor advisory (cvelist)
- Red Hat JBoss Fuse Service Works 6: see vendor advisory (cvelist)
- Red Hat Process Automation 7: all versions (cvelist)
- Red Hat streams for Apache Kafka: see vendor advisory (cvelist)

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2024:1674>
- vendor: <https://access.redhat.com/errata/RHSA-2024:1675>
- vendor: <https://access.redhat.com/errata/RHSA-2024:1676>
- vendor: <https://access.redhat.com/errata/RHSA-2024:1677>
- vendor: <https://access.redhat.com/errata/RHSA-2024:1860>
- vendor: <https://access.redhat.com/errata/RHSA-2024:1861>
- vendor: <https://access.redhat.com/errata/RHSA-2024:1862>
- vendor: <https://access.redhat.com/errata/RHSA-2024:1864>
- vendor: <https://access.redhat.com/errata/RHSA-2024:1866>
- vendor: <https://access.redhat.com/errata/RHSA-2024:3354>
- vendor: <https://access.redhat.com/errata/RHSA-2024:4884>
- vendor: <https://access.redhat.com/errata/RHSA-2025:4226>
- vendor: <https://access.redhat.com/errata/RHSA-2025:9583>
- vendor: <https://security.netapp.com/advisory/ntap-20240322-0007/>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-1635>
- patch: <https://github.com/undertow-io/undertow/commit/7d388c5aae9b82afb63f24e3b6a2044838dfb4de>
- patch: <https://github.com/undertow-io/undertow/commit/3cdb104e225f34547ce9fd6eb8799eb68e040f19>
- other: <https://access.redhat.com/security/cve/CVE-2024-1635>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2264928>
- other: <https://security.netapp.com/advisory/ntap-20240322-0007>
- other: <https://github.com/undertow-io/undertow>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-1635>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-w6qf-42m7-vh68> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-1635> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-1635>
