CVE-2024-1635 Undertow: out-of-memory error after several closed connections with wildfly-http-client protocol
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.
Problem types: cwe_id: CWE-400
description: Uncontrolled Resource Consumption
Affected products: default_status: unaffected
vendor: Red Hat
product: Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2
cpes: cpe:/a:redhat:apache_camel_spring_boot:4.4::el6
default_status: unaffected
vendor: Red Hat
product: Red Hat Fuse 7.13.0
cpes: cpe:/a:redhat:jboss_fuse:7
default_status: unaffected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform
cpes: cpe:/a:redhat:jboss_enterprise_application_platform:7.4
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.1::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.1::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.1::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.1::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.1::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.1::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.1::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.1::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
cpes: cpe:/a:redhat:jboss_enterprise_application_platform:7.4::el8
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
cpes: cpe:/a:redhat:jboss_enterprise_application_platform:7.4::el9
default_status: affected
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
cpes: cpe:/a:redhat:jboss_enterprise_application_platform:7.4::el7
default_status: affected
vendor: Red Hat
product: Red Hat Single Sign-On 7.6 for RHEL 7
cpes: cpe:/a:redhat:red_hat_single_sign_on:7.6::el7
default_status: affected
vendor: Red Hat
product: Red Hat Single Sign-On 7.6 for RHEL 8
cpes: cpe:/a:redhat:red_hat_single_sign_on:7.6::el8
default_status: affected
vendor: Red Hat
product: Red Hat Single Sign-On 7.6 for RHEL 9
cpes: cpe:/a:redhat:red_hat_single_sign_on:7.6::el9
default_status: affected
vendor: Red Hat
product: RHEL-8 based Middleware Containers
cpes: cpe:/a:redhat:rhosemc:1.0::el8
default_status: affected
vendor: Red Hat
product: RHSSO 7.6.8
cpes: cpe:/a:redhat:red_hat_single_sign_on:7.6
default_status: unaffected
vendor: Red Hat
product: OpenShift Serverless
cpes: cpe:/a:redhat:serverless:1
default_status: unaffected
vendor: Red Hat
product: Red Hat build of Apache Camel 4 for Quarkus 3
cpes: cpe:/a:redhat:camel_quarkus:3
default_status: unaffected
vendor: Red Hat
product: Red Hat build of Apache Camel for Spring Boot 3
cpes: cpe:/a:redhat:camel_spring_boot:3
default_status: unaffected
vendor: Red Hat
product: Red Hat build of Apache Camel for Spring Boot 4
cpes: cpe:/a:redhat:camel_spring_boot:4
default_status: affected
vendor: Red Hat
product: Red Hat build of Apicurio Registry 2
cpes: cpe:/a:redhat:service_registry:2
default_status: unaffected
vendor: Red Hat
product: Red Hat Build of Keycloak
cpes: cpe:/a:redhat:build_keycloak:
default_status: unaffected
vendor: Red Hat
product: Red Hat build of OptaPlanner 8
cpes: cpe:/a:redhat:optaplanner:::el6
default_status: unaffected
vendor: Red Hat
product: Red Hat build of Quarkus
cpes: cpe:/a:redhat:quarkus:2
default_status: unaffected
vendor: Red Hat
product: Red Hat build of Quarkus
cpes: cpe:/a:redhat:quarkus:3
default_status: unaffected
vendor: Red Hat
product: Red Hat Data Grid 8
cpes: cpe:/a:redhat:jboss_data_grid:8
default_status: unaffected
vendor: Red Hat
product: Red Hat Integration Camel K 1
cpes: cpe:/a:redhat:integration:1
default_status: unaffected
vendor: Red Hat
product: Red Hat Integration Camel Quarkus 2
cpes: cpe:/a:redhat:camel_quarkus:2
default_status: unaffected
vendor: Red Hat
product: Red Hat JBoss Data Grid 7
cpes: cpe:/a:redhat:jboss_data_grid:7
default_status: unknown
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 8
cpes: cpe:/a:redhat:jboss_enterprise_application_platform:8
default_status: unaffected
vendor: Red Hat
product: Red Hat JBoss Fuse Service Works 6
cpes: cpe:/a:redhat:jboss_fuse_service_works:6
default_status: unknown
vendor: Red Hat
product: Red Hat Process Automation 7
cpes: cpe:/a:redhat:jboss_enterprise_bpms_platform:7
default_status: affected
vendor: Red Hat
product: streams for Apache Kafka
cpes: cpe:/a:redhat:amq_streams:1
default_status: unaffected
CVSS v3.1: attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 7.5
baseSeverity: HIGH
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
version: 3.1
Published: 2024-02-19T21:23:14.496Z