You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Path to dependency file: /DemoApplication/build.gradle
Path to vulnerable library: /root/.gradle/caches/modules-2/files-2.1/io.undertow/undertow-core/1.4.21.Final/5b090ee5bc041d1515be2e78687a868424495a73/undertow-core-1.4.21.Final.jar
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.
CVE-2024-1635 - High Severity Vulnerability
Undertow
Library home page: http://www.jboss.org/
Path to dependency file: /DemoApplication/build.gradle
Path to vulnerable library: /root/.gradle/caches/modules-2/files-2.1/io.undertow/undertow-core/1.4.21.Final/5b090ee5bc041d1515be2e78687a868424495a73/undertow-core-1.4.21.Final.jar
Dependency Hierarchy:
Found in HEAD commit: de2586fa2a022011c9940939b5ce1148441d3a68
Found in base branch: master
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.
Publish Date: 2024-02-19
URL: CVE-2024-1635
Base Score Metrics:
Type: Upgrade version
Origin: https://bugzilla.redhat.com/show_bug.cgi?id=2264928
Release Date: 2024-02-19
Fix Resolution (io.undertow:undertow-core): 2.2.31.Final
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-undertow): 3.0.0
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: