Undertow: out-of-memory error after several closed connections with wildfly-http-client protocol
Red Hat / 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、Red Hat JBoss Enterprise Application Platform 7.4.16、Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 +23
CVE 记录列出的受影响产品:Red Hat · Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7、Red Hat · Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7、Red Hat · Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8、Red Hat · Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9、Red Hat · Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7、Red Hat · Red Hat JBoss Enterprise Application Platform 7.4.16、Red Hat · Red Hat JBoss Enterprise Application Platform 8NVD 分析人员标为易受攻击的 CPE 名称:a:redhat:jboss_enterprise_application_platform
CVE 记录列出的受影响产品:Red Hat · Red Hat Build of Keycloak、Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7、Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8、Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9NVD 分析人员标为易受攻击的 CPE 名称:a:redhat:single_sign-on
CVE 记录列出的受影响产品:Red Hat · Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7、Red Hat · Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7、Red Hat · Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8、Red Hat · Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9、Red Hat · Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7、Red Hat · Red Hat JBoss Enterprise Application Platform 7.4.16、Red Hat · Red Hat JBoss Enterprise Application Platform 8NVD 分析人员标为易受攻击的 CPE 名称:a:redhat:jboss_enterprise_application_platformnday 产品登记表中 JBoss EAP 的产品类型
CVE 记录列出的受影响产品:Red Hat · Red Hat Build of Keycloak、Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7、Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8、Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9NVD 分析人员标为易受攻击的 CPE 名称:a:redhat:single_sign-onnday 产品登记表中 Keycloak 的产品类型
当前阶段
DIS
披露
CVSS
7.5 HIGH v3.1
# 生命周期
横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录
# 摘要
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.