Skip to content
OpenAdvisories
High · 7.5 CVE-2024-1635 EUVD-2024-0747GHSA-w6qf-42m7-vh68

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

Published Feb 19, 2024 · Updated Nov 4, 2026 · Assigned by redhat

Vendor: Red Hat Product: OpenShift Serverless Product: Red Hat build of Apache Camel 4 for Quarkus 3 Product: Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2 Product: Red Hat build of Apache Camel for Spring Boot 3 Product: Red Hat build of Apache Camel for Spring Boot 4 Product: Red Hat build of Apicurio Registry 2 Product: Red Hat Build of Keycloak Product: Red Hat build of OptaPlanner 8 Product: Red Hat build of Quarkus Product: Red Hat Data Grid 8 Product: Red Hat Fuse 7.13.0 Product: Red Hat Integration Camel K 1 Product: Red Hat Integration Camel Quarkus 2 Product: Red Hat JBoss Data Grid 7 Product: Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 Product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Product: Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 Product: Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 Product: Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 Product: Red Hat JBoss Enterprise Application Platform 7.4.16 Product: Red Hat JBoss Enterprise Application Platform 8 Product: Red Hat JBoss Fuse Service Works 6 Product: Red Hat Process Automation 7 Product: Red Hat Single Sign-On 7.6 for RHEL 7 Product: Red Hat Single Sign-On 7.6 for RHEL 8 Product: Red Hat Single Sign-On 7.6 for RHEL 9 Product: RHEL-8 based Middleware Containers Product: RHSSO 7.6.8 Product: streams for Apache Kafka Package: io.undertow:undertow-core Package: undertow Package: undertow Ecosystem: Debian Ecosystem: Maven Ecosystem: Ubuntu

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 products

VendorProductAffectedFixed
— undertow 1.31.0 —
Red Hat Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2 — —
Red Hat Red Hat Fuse 7.13.0 — —
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.16 — —
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 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 9 — —
Red Hat RHEL-8 based Middleware Containers — —
Red Hat RHSSO 7.6.8 — —
Red Hat OpenShift Serverless — —
Red Hat Red Hat build of Apache Camel 4 for Quarkus 3 — —
Red Hat Red Hat build of Apache Camel for Spring Boot 3 — —
Red Hat Red Hat build of Apache Camel for Spring Boot 4 — —
Red Hat Red Hat build of Apicurio Registry 2 — —
Red Hat Red Hat Build of Keycloak — —
Red Hat Red Hat build of OptaPlanner 8 — —
Red Hat Red Hat build of Quarkus — —
Red Hat Red Hat Data Grid 8 — —
Red Hat Red Hat Integration Camel K 1 — —
Red Hat Red Hat Integration Camel Quarkus 2 — —
Red Hat Red Hat JBoss Data Grid 7 — —
Red Hat Red Hat JBoss Enterprise Application Platform 8 — —
Red Hat Red Hat JBoss Fuse Service Works 6 — —
Red Hat Red Hat Process Automation 7 — —
Red Hat streams for Apache Kafka — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 undertow 2.3.18-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 undertow No fix yet —
Ubuntu 26.04 LTS undertow No fix yet —
Ubuntu 25.10 undertow No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS undertow No fix yet —
Ubuntu Pro 22.04 LTS undertow No fix yet —
Ubuntu Pro 20.04 LTS undertow No fix yet —
Ubuntu Pro 18.04 LTS undertow No fix yet —
Ubuntu Pro 16.04 LTS undertow No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.13-1.redhat_00001.1.el7sso RHSA-2024:1862, RHSA-2024:1861, RHSA-2024:1860
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-activemq-artemis +15 1.5.5.016-1.redhat_00001.1.ep7.el7 RHSA-2025:4226
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-artemis-native +1 1:1.5.5.016-1.redhat_00001.1.ep7.el7 RHSA-2025:4226
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jackson-core +4 2.10.4-3.redhat_00006.1.el7eap RHSA-2025:9583
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jackson-databind +2 2.10.4-5.redhat_00006.1.el7eap RHSA-2025:9583
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jackson-datatype-jdk8 +2 2.10.4-2.redhat_00006.1.el7eap RHSA-2025:9583
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jboss-server-migration +21 1.7.2-16.Final_redhat_00017.1.el7eap RHSA-2025:9583
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jboss-xnio-base 3.5.11-1.Final_redhat_00001.1.ep7.el7 RHSA-2025:4226
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jsoup 1.14.2-1.redhat_00002.1.ep7.el7 RHSA-2025:4226
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-netty +1 4.1.63-5.Final_redhat_00003.1.el7eap RHSA-2025:9583
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-undertow 1.4.18-14.SP13_redhat_00001.1.ep7.el7 RHSA-2025:9583, RHSA-2025:4226
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-wildfly +1 7.1.10-2.GA_redhat_00002.1.ep7.el7 RHSA-2025:9583, RHSA-2025:4226
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-wildfly-elytron +1 1.10.17-1.Final_redhat_00001.1.el7eap RHSA-2025:9583
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-wildfly-javadocs +2 7.3.14-3.GA_redhat_00002.1.el7eap RHSA-2025:9583
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-woodstox-core 5.0.3-2.redhat_00002.1.ep7.el7 RHSA-2025:4226
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-xml-security 2.0.10-2.redhat_00002.1.ep7.el7 RHSA-2025:4226
Red Hat JBoss EAP 7 eap7-activemq-artemis +15 2.16.0-18.redhat_00052.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-apache-cxf +3 3.4.10-2.redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-eclipse-jgit 5.13.3.202401111512-1.r_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-elytron-web +1 1.9.4-1.Final_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-hal-console 3.3.21-1.Final_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-hibernate +4 5.3.36-1.Final_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-infinispan +9 11.0.18-2.Final_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-jberet +1 1.3.9-3.SP3_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-jboss-annotations-api_1.3_spec 2.0.1-3.Final_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-jboss-cert-helper +1 1.1.2-1.redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-jboss-remoting 5.0.27-4.SP2_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-jboss-server-migration +2 1.10.0-35.Final_redhat_00034.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-jboss-xnio-base 3.8.12-1.SP2_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-jgroups-kubernetes 1.0.17-1.Final_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-lucene-core +7 5.5.5-6.redhat_2.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-lucene-grouping 5.5.5-6.redhat_2.1.el8eap RHSA-2024:1675
Red Hat JBoss EAP 7 eap7-undertow 2.2.30-1.SP1_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-wildfly +4 7.4.16-4.GA_redhat_00002.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-wildfly-elytron +1 1.15.22-1.Final_redhat_00001.1.el7eap RHSA-2024:1676, RHSA-2024:1675, RHSA-2024:1674
Red Hat JBoss EAP 7 eap7-wildfly-java-jdk17 7.4.16-4.GA_redhat_00002.1.el8eap RHSA-2024:1676, RHSA-2024:1675

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.undertow:undertow-core >= 2.3.0.Final, < 2.3.12.Final 2.3.12.Final GHSA-w6qf-42m7-vh68
Maven io.undertow:undertow-core < 2.2.31.Final 2.2.31.Final GHSA-w6qf-42m7-vh68

Advisories 10

References