PT-2024-18183 · Undertow · Undertow
Patrick Del Bello
·
Published
2024-02-19
·
Updated
2025-06-25
·
CVE-2024-1635
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Undertow (affected versions not specified)
Description
A vulnerability was found in Undertow that impacts servers supporting the wildfly-http-client protocol. When 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. This is because the remoting connection originates in Undertow as part of the HTTP upgrade and is unaware of the outermost layer when closing the connection during the connection opening procedure, resulting in the WriteTimeoutStreamSinkConduit not being notified of the closed connection. The WriteTimeoutStreamSinkConduit creates a timeout task that is added to XNIO WorkerThread, causing the whole dependency tree to leak via that task.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Undertow