nday
CVE-2024-1635

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

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

resource exhaustion
CWE-400, stated by the CNA redhat and NVD, republishing [email protected]
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA redhat
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA redhat
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA redhat
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA redhat
OpenShift
CPE names NVD's analysts give as vulnerable: a:redhat:openshift_container_platform
JBoss EAP
affected products in the CVE record: 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 8CPE names NVD's analysts give as vulnerable: a:redhat:jboss_enterprise_application_platform
Keycloak
affected products in the CVE record: 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 9CPE names NVD's analysts give as vulnerable: a:redhat:single_sign-on
virtualization / containers
CPE names NVD's analysts give as vulnerable: a:redhat:openshift_container_platformthe product type of OpenShift in nday's product registry
web / application server
affected products in the CVE record: 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 8CPE names NVD's analysts give as vulnerable: a:redhat:jboss_enterprise_application_platformthe product type of JBoss EAP in nday's product registry
identity / access management
affected products in the CVE record: 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 9CPE names NVD's analysts give as vulnerable: a:redhat:single_sign-onthe product type of Keycloak in nday's product registry
stage
DIS
disclosed
cvss
7.5 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2024-02-19T21:23Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA redhat.

Event log

+DISdisclosed

CVE record published by redhat. CVSS 7.5, high.

src cvelist · nday , bulk import · raw
{
  "id": 311982,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-1635",
  "occurred_at": "2024-02-19T21:23:14.496Z",
  "observed_at": "2026-11-13T05:38:15.682318Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "version": "3.1",
      "base_score": 7.5,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2024-02-22T16:54:05.178381Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2024-02-19T21:23:14.496Z",
    "assigner_short_name": "redhat"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.