CVE-2024-1635: Undertow Uncontrolled Resource Consumption Vulnerability
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.
Published Feb 20, 2024 · Updated Mar 26, 2026
Affected packages
io.undertow:undertow-core
- Ecosystem
- Maven
- Affected
- >= 2.3.0.Final, < 2.3.12.Final
- Fixed in
- 2.3.12.Final
- Check
mvn dependency:tree -Dincludes=io.undertow:undertow-core
io.undertow:undertow-core
- Ecosystem
- Maven
- Affected
- < 2.2.31.Final
- Fixed in
- 2.2.31.Final
- Check
mvn dependency:tree -Dincludes=io.undertow:undertow-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-1635
- https://access.redhat.com/security/cve/CVE-2024-1635
- https://bugzilla.redhat.com/show_bug.cgi?id=2264928
- https://security.netapp.com/advisory/ntap-20240322-0007
- 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://github.com/undertow-io/undertow/commit/3cdb104e225f34547ce9fd6eb8799eb68e040f19
- https://github.com/undertow-io/undertow/commit/7d388c5aae9b82afb63f24e3b6a2044838dfb4de
- 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://github.com/advisories/GHSA-w6qf-42m7-vh68
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-28367
Undertow is Vulnerable to HTTP Request/Response Smuggling
high8.7Mar 27, 2026CVE-2026-28368
Undertow is Vulnerable to HTTP Request/Response Smuggling
high8.7Mar 27, 2026CVE-2026-28369
Undertow is Vulnerable to HTTP Request/Response Smuggling
high8.7Mar 27, 2026CVE-2026-3260
Undertow: Denial of Service via Multipart/Form-Data Parsing on HTTP GET Requests
medium5.9No fixMar 24, 2026CVE-2024-4027
Undertow Servlets Vulnerable to Remote DoS via OutOfMemoryError when Passed Large Parameter Names
high7.5Jan 30, 2026CVE-2025-12543
Undertow HTTP server core doesn't properly validate the Host header in incoming HTTP requests
critical9.6No fixJan 7, 2026
