Skip to content

Red Hat Enterprise Linux

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

CVE-2024-1635Published 19 Feb 2024, 21:23 UTC

Real-world risk

3.4/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.5

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from redhat)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Red Hat Enterprise LinuxUbiquitousnot stated—
JBoss Enterprise Application PlatformWidespreadnot stated—
KeycloakWidespreadnot stated—
Red Hat OpenShift Container PlatformWidespreadnot stated—
Red Hat Data Grid 8Commonnot stated—
Red Hat Fuse 7Commonnot stated—
Red Hat Process Automation 7Commonnot stated—
Red Hat build of Apache Camel 4 for Quarkus 3Commonnot stated—
Red Hat build of Apache Camel for Spring Boot 4Commonnot stated—
Red Hat build of Apicurio Registry 2Commonnot stated—
Red Hat build of QuarkusCommonnot stated—
streams for Apache Kafka 3Commonnot stated—
RHSSO 7.6.8Nichenot stated—
Red Hat Integration Camel K 1Nichenot stated—
Red Hat Integration Camel Quarkus 2Nichenot stated—
Red Hat JBoss Fuse 6Nichenot stated—
Red Hat build of OptaPlanner 8Nichenot stated—
jboss_data_gridNichenot stated—
undertowNiche= 1.31.0—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 4.9% chance of exploitation in 30 days (percentile 92), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
  4. Rounded to one decimal between 0.1 and 103.4

How the score works

Exploitation and evidence timeline

  1. 19 Feb 2024 Published
  2. 3 Dec 2026 Risk 3.4 (cvss fallback)

Weakness

CWE-400

References

Get alerts for Red Hat Enterprise Linux

Free email or text alerts when a vulnerability in Red Hat Enterprise Linux reaches risk 8 or higher. Nothing else.