Skip to content
Fencer Vulns
high 7.5

CVE-2024-1635 json

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

published 2024-02-19 2 y ago modified 2026-11-04 4 d ago also EUVD-2024-0747 , GHSA-w6qf-42m7-vh68

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
4.6%
EPSS 4.6% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven io.undertow:undertow-core 2.2.31.Final, 2.3.12.Final
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 0:1.4.18-14.SP13_redhat_00001.1.ep7.el7, 0:1.5.5.016-1.redhat_00001.1.ep7.el7, 0:1.14.2-1.redhat_00002.1.ep7.el7, 0:2.0.10-2.redhat_00002.1.ep7.el7, 0:3.5.11-1.Final_redhat_00001.1.ep7.el7, 0:5.0.3-2.redhat_00002.1.ep7.el7, 0:7.1.10-2.GA_redhat_00002.1.ep7.el7, 1:1.5.5.016-1.redhat_00001.1.ep7.el7
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 0:1.7.2-16.Final_redhat_00017.1.el7eap, 0:1.10.17-1.Final_redhat_00001.1.el7eap, 0:2.0.41-4.SP5_redhat_00001.1.el7eap, 0:2.10.4-2.redhat_00006.1.el7eap, 0:2.10.4-3.redhat_00006.1.el7eap, 0:2.10.4-5.redhat_00006.1.el7eap, 0:4.1.63-5.Final_redhat_00003.1.el7eap, 0:7.3.14-3.GA_redhat_00002.1.el7eap
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.4.16 2.2.30.SP1-redhat-00001
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 0:2.2.30-1.SP1_redhat_00001.1.el8eap
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 0:2.2.30-1.SP1_redhat_00001.1.el9eap
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 0:2.2.30-1.SP1_redhat_00001.1.el7eap
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 0:18.0.13-1.redhat_00001.1.el7sso
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 0:18.0.13-1.redhat_00001.1.el8sso
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 0:18.0.13-1.redhat_00001.1.el9sso
  • Red Hat RHEL-8 based Middleware Containers 7.6-46
  • undertow Debian 14 2.3.18-1

debian advisories DEBIAN-CVE-2024-1635

  • eap7-jberet jboss enterprise application platform 7.4 1.3.9-3.SP3_redhat_00001.1.el7eap
  • eap7-wildfly jboss enterprise application platform 7.4 7.4.16-4.GA_redhat_00002.1.el7eap
  • eap7-undertow jboss enterprise application platform 7.4 2.2.30-1.SP1_redhat_00001.1.el7eap
  • eap7-hibernate jboss enterprise application platform 7.4 5.3.36-1.Final_redhat_00001.1.el7eap
  • eap7-apache-cxf jboss enterprise application platform 7.4 3.4.10-2.redhat_00001.1.el7eap
  • eap7-infinispan jboss enterprise application platform 7.4 11.0.18-2.Final_redhat_00001.1.el7eap
  • eap7-elytron-web jboss enterprise application platform 7.4 1.9.4-1.Final_redhat_00001.1.el7eap
  • eap7-hal-console jboss enterprise application platform 7.4 3.3.21-1.Final_redhat_00001.1.el7eap

red hat advisories RHSA-2025:9583RHSA-2025:4226RHSA-2024:1674RHSA-2024:1675RHSA-2024:1676RHSA-2024:1861

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-1635 updated cvss 7.5

undertow: Out-of-memory Error after several closed connections with wildfly-http-client protocol

  • Red Hat build of Apache Camel for Spring Boot 4 undertow undertow
    affected: workaround, no fix available
  • Red Hat JBoss Data Grid 7 undertow undertow Red Hat JBoss Fuse Service Works 6 undertow undertow
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Process Automation 7 undertow undertow
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-46
    fixed: vendor fix RHSA-2024:1864
  • Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2
    fixed: vendor fix RHSA-2024:4884
  • Red Hat Fuse 7.13.0
    fixed: vendor fix RHSA-2024:3354
  • Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-undertow 2.2.30-1.SP1_redhat_00001.1.el7eap
    fixed: vendor fix RHSA-2024:1674
  • Red Hat JBoss EAP 7.4 for RHEL 8 eap7-undertow 2.2.30-1.SP1_redhat_00001.1.el8eap
    fixed: vendor fix RHSA-2024:1675
show 9 more
  • Red Hat JBoss EAP 7.4 for RHEL 9 eap7-undertow 2.2.30-1.SP1_redhat_00001.1.el9eap
    fixed: vendor fix RHSA-2024:1676
  • Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 Server eap7-jsoup 1.14.2-1.redhat_00002.1.ep7.el7, eap7-wildfly 7.1.10-2.GA_redhat_00002.1.ep7.el7, eap7-woodstox-core 5.0.3-2.redhat_00002.1.ep7.el7, eap7-xml-security 2.0.10-2.redhat_00002.1.ep7.el7, eap7-undertow 1.4.18-14.SP13_redhat_00001.1.ep7.el7, eap7-artemis-native 1.5.5.016-1.redhat_00001.1.ep7.el7, +19 more
    fixed: vendor fix RHSA-2025:4226
  • Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Server eap7-wildfly 7.3.14-3.GA_redhat_00002.1.el7eap, eap7-netty 4.1.63-5.Final_redhat_00003.1.el7eap, eap7-jackson-core 2.10.4-3.redhat_00006.1.el7eap, eap7-undertow 2.0.41-4.SP5_redhat_00001.1.el7eap, eap7-netty-all 4.1.63-5.Final_redhat_00003.1.el7eap, eap7-jackson-databind 2.10.4-5.redhat_00006.1.el7eap, +37 more
    fixed: vendor fix RHSA-2025:9583
  • Red Hat JBoss Enterprise Application Platform 7.4.16 undertow-core 2.2.30.SP1-redhat-00001
    fixed: vendor fix RHSA-2024:1677
  • Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el7sso
    fixed: vendor fix RHSA-2024:1860
  • Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el8sso
    fixed: vendor fix RHSA-2024:1861
  • Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el9sso
    fixed: vendor fix RHSA-2024:1862
  • Red Hat RHSSO 7.6.8
    fixed: vendor fix RHSA-2024:1866
  • Red Hat OpenShift Serverless undertow undertow Red Hat build of Apache Camel 4 for Quarkus 3 undertow undertow Red Hat build of Apache Camel for Spring Boot 3 undertow undertow Red Hat build of Apicurio Registry 2 undertow undertow Red Hat Build of Keycloak undertow undertow Red Hat build of OptaPlanner 8 undertow undertow
    +10 more products
    Red Hat build of Quarkus quarkus-undertow Red Hat Data Grid 8 undertow undertow Red Hat Integration Camel K 1 undertow undertow Red Hat Integration Camel Quarkus 2 undertow undertow Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-lucene-core 5.5.5-6.redhat_2.1.el7eap, eap7-lucene-misc 5.5.5-6.redhat_2.1.el7eap, eap7-lucene-solr 5.5.5-6.redhat_2.1.el7eap, eap7-lucene-facet 5.5.5-6.redhat_2.1.el7eap, eap7-jberet 1.3.9-3.SP3_redhat_00001.1.el7eap, eap7-lucene-queries 5.5.5-6.redhat_2.1.el7eap, +59 more Red Hat JBoss EAP 7.4 for RHEL 8 eap7-lucene-core 5.5.5-6.redhat_2.1.el8eap, eap7-lucene-misc 5.5.5-6.redhat_2.1.el8eap, eap7-lucene-solr 5.5.5-6.redhat_2.1.el8eap, eap7-lucene-facet 5.5.5-6.redhat_2.1.el8eap, eap7-jberet 1.3.9-3.SP3_redhat_00001.1.el8eap, eap7-lucene-queries 5.5.5-6.redhat_2.1.el8eap, +61 more Red Hat JBoss EAP 7.4 for RHEL 9 eap7-lucene-core 5.5.5-6.redhat_2.1.el9eap, eap7-lucene-misc 5.5.5-6.redhat_2.1.el9eap, eap7-lucene-solr 5.5.5-6.redhat_2.1.el9eap, eap7-lucene-facet 5.5.5-6.redhat_2.1.el9eap, eap7-jberet 1.3.9-3.SP3_redhat_00001.1.el9eap, eap7-lucene-queries 5.5.5-6.redhat_2.1.el9eap, +58 more Red Hat JBoss Enterprise Application Platform 7.4.16 pom.xml, c3 0.6.0, c3 0.7.1, d3 5.9.2, fs 2.1.2, ip 2.0.0, +1557 more Red Hat JBoss Enterprise Application Platform 8 undertow-core Red Hat streams for Apache Kafka undertow undertow
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

4.57% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven io.undertow:undertow-core
>=2.3.0.Final, <2.3.12.Final
<2.2.31.Final
2.3.12.Final
2.2.31.Final

Affected products

  • 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

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.