CVE-2024-1635

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

7.5 high EPSS 6.17%

Published 19 Feb 2024 Updated 27 Nov 2026 CNA: redhat

Check your servers for CVE-2024-1635

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-1635 affects undertow-core, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.5 high CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 6.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 94.2% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 22 Feb 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-400 Uncontrolled Resource Consumption

Affected products

As the CNA lists them.

ProductVersions
undertow
package undertow
affected 1.31.0
Other versions: unaffected
Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2
unaffected the record does not list versions
Red Hat Fuse 7.13.0
unaffected the record does not list versions
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
package eap7-activemq-artemis
unaffected 0:1.5.5.016-1.redhat_00001.1.ep7.el7 and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
package eap7-artemis-native
unaffected 1:1.5.5.016-1.redhat_00001.1.ep7.el7 and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
package eap7-jboss-xnio-base
unaffected 0:3.5.11-1.Final_redhat_00001.1.ep7.el7 and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
package eap7-jsoup
unaffected 0:1.14.2-1.redhat_00002.1.ep7.el7 and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
package eap7-undertow
unaffected 0:1.4.18-14.SP13_redhat_00001.1.ep7.el7 and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
package eap7-wildfly
unaffected 0:7.1.10-2.GA_redhat_00002.1.ep7.el7 and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
package eap7-woodstox-core
unaffected 0:5.0.3-2.redhat_00002.1.ep7.el7 and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
package eap7-xml-security
unaffected 0:2.0.10-2.redhat_00002.1.ep7.el7 and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
package eap7-jackson-annotations
unaffected 0:2.10.4-3.redhat_00006.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
package eap7-jackson-core
unaffected 0:2.10.4-3.redhat_00006.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
package eap7-jackson-databind
unaffected 0:2.10.4-5.redhat_00006.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
package eap7-jackson-jaxrs-providers
unaffected 0:2.10.4-3.redhat_00006.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
package eap7-jackson-modules-base
unaffected 0:2.10.4-5.redhat_00006.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
package eap7-jackson-modules-java8
unaffected 0:2.10.4-2.redhat_00006.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
package eap7-jboss-server-migration
unaffected 0:1.7.2-16.Final_redhat_00017.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
package eap7-netty
unaffected 0:4.1.63-5.Final_redhat_00003.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
package eap7-undertow
unaffected 0:2.0.41-4.SP5_redhat_00001.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
package eap7-wildfly
unaffected 0:7.3.14-3.GA_redhat_00002.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
package eap7-wildfly-elytron
unaffected 0:1.10.17-1.Final_redhat_00001.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4.16
package io.undertow/undertow-core
unaffected 2.2.30.SP1-redhat-00001 and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-undertow
unaffected 0:2.2.30-1.SP1_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-undertow
unaffected 0:2.2.30-1.SP1_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-undertow
unaffected 0:2.2.30-1.SP1_redhat_00001.1.el7eap and later
Other versions: affected
Red Hat Single Sign-On 7.6 for RHEL 7
package rh-sso7-keycloak
unaffected 0:18.0.13-1.redhat_00001.1.el7sso and later
Other versions: affected
Red Hat Single Sign-On 7.6 for RHEL 8
package rh-sso7-keycloak
unaffected 0:18.0.13-1.redhat_00001.1.el8sso and later
Other versions: affected
Red Hat Single Sign-On 7.6 for RHEL 9
package rh-sso7-keycloak
unaffected 0:18.0.13-1.redhat_00001.1.el9sso and later
Other versions: affected
RHEL-8 based Middleware Containers
package rh-sso-7/sso76-openshift-rhel8
unaffected 7.6-46 and later
Other versions: affected
RHSSO 7.6.8
package undertow-core
unaffected the record does not list versions
OpenShift Serverless
package undertow-core
unaffected the record does not list versions
Red Hat build of Apache Camel 4 for Quarkus 3
package undertow-core
unaffected the record does not list versions
Red Hat build of Apache Camel for Spring Boot 3
package undertow-core
unaffected the record does not list versions
Red Hat build of Apache Camel for Spring Boot 4
package undertow-core
affected the record does not list versions
Red Hat build of Apicurio Registry 2
package undertow
unaffected the record does not list versions
Red Hat Build of Keycloak
package undertow
unaffected the record does not list versions
Red Hat build of OptaPlanner 8
package undertow-core
unaffected the record does not list versions
Red Hat build of Quarkus
package quarkus-undertow
unaffected the record does not list versions
Red Hat build of Quarkus
package quarkus-undertow
unaffected the record does not list versions
Red Hat Data Grid 8
package undertow
unaffected the record does not list versions
Red Hat Integration Camel K 1
package undertow-core
unaffected the record does not list versions
Red Hat Integration Camel Quarkus 2
package undertow-core
unaffected the record does not list versions
Red Hat JBoss Data Grid 7
package undertow-core
unknown the record does not list versions
Red Hat JBoss Enterprise Application Platform 8
package undertow-core
unaffected the record does not list versions
Red Hat JBoss Fuse Service Works 6
package undertow-core
unknown the record does not list versions
Red Hat Process Automation 7
package undertow-core
affected the record does not list versions
streams for Apache Kafka
package undertow
unaffected the record does not list versions

Is my server affected?

Find the installed version of undertow-core and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i undertow-core
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-1635 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-1635

RHEL, Rocky, Alma, Fedora

rpm -q undertow-core
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-1635

Alpine

apk list --installed | grep -i undertow-core

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-1635
trivy image --scanners vuln IMAGE | grep CVE-2024-1635

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2024-1635 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.