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

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.95%, higher than 92% of CVEs (2026-12-01)
- Published: 2024-02-19T21:23:14.496Z
- Modified: 2026-11-27T08:16:36.413Z
- Also known as: GHSA-w6qf-42m7-vh68
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- undertow: 1.31.0
- Red Hat Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2: no versions given
- Red Hat Red Hat Fuse 7.13.0: no versions given
- eap7-activemq-artemis: no versions given (not affected: from 0:1.5.5.016-1.redhat_00001.1.ep7.el7 before *)
- eap7-artemis-native: no versions given (not affected: from 1:1.5.5.016-1.redhat_00001.1.ep7.el7 before *)
- eap7-jboss-xnio-base: no versions given (not affected: from 0:3.5.11-1.Final_redhat_00001.1.ep7.el7 before *)
- eap7-jsoup: no versions given (not affected: from 0:1.14.2-1.redhat_00002.1.ep7.el7 before *)
- eap7-undertow: no versions given (not affected: from 0:1.4.18-14.SP13_redhat_00001.1.ep7.el7 before *; from 0:2.0.41-4.SP5_redhat_00001.1.el7eap before *; from 0:2.2.30-1.SP1_redhat_00001.1.el8eap before *; from 0:2.2.30-1.SP1_redhat_00001.1.el9eap before *; from 0:2.2.30-1.SP1_redhat_00001.1.el7eap before *)
- eap7-wildfly: no versions given (not affected: from 0:7.1.10-2.GA_redhat_00002.1.ep7.el7 before *; from 0:7.3.14-3.GA_redhat_00002.1.el7eap before *)
- eap7-woodstox-core: no versions given (not affected: from 0:5.0.3-2.redhat_00002.1.ep7.el7 before *)
- eap7-xml-security: no versions given (not affected: from 0:2.0.10-2.redhat_00002.1.ep7.el7 before *)
- eap7-jackson-annotations: no versions given (not affected: from 0:2.10.4-3.redhat_00006.1.el7eap before *)
- eap7-jackson-core: no versions given (not affected: from 0:2.10.4-3.redhat_00006.1.el7eap before *)
- eap7-jackson-databind: no versions given (not affected: from 0:2.10.4-5.redhat_00006.1.el7eap before *)
- eap7-jackson-jaxrs-providers: no versions given (not affected: from 0:2.10.4-3.redhat_00006.1.el7eap before *)
- eap7-jackson-modules-base: no versions given (not affected: from 0:2.10.4-5.redhat_00006.1.el7eap before *)
- eap7-jackson-modules-java8: no versions given (not affected: from 0:2.10.4-2.redhat_00006.1.el7eap before *)
- eap7-jboss-server-migration: no versions given (not affected: from 0:1.7.2-16.Final_redhat_00017.1.el7eap before *)
- eap7-netty: no versions given (not affected: from 0:4.1.63-5.Final_redhat_00003.1.el7eap before *)
- eap7-wildfly-elytron: no versions given (not affected: from 0:1.10.17-1.Final_redhat_00001.1.el7eap before *)
- io.undertow/undertow-core: no versions given (not affected: from 2.2.30.SP1-redhat-00001 before *)
- rh-sso7-keycloak: no versions given (not affected: from 0:18.0.13-1.redhat_00001.1.el7sso before *; from 0:18.0.13-1.redhat_00001.1.el8sso before *; from 0:18.0.13-1.redhat_00001.1.el9sso before *)
- rh-sso-7/sso76-openshift-rhel8: no versions given (not affected: from 7.6-46 before *)
- undertow-core: no versions given
- quarkus-undertow: no versions given
- io.undertow:undertow-core (Maven): from 2.3.0.Final before 2.3.12.Final; before 2.2.31.Final
- netapp active_iq_unified_manager: no versions given
- netapp oncommand_workflow_automation: no versions given
- redhat fuse: 1.0
- redhat integration_camel_for_spring_boot: no versions given
- redhat jboss_enterprise_application_platform: 7.4
- redhat openshift_container_platform: 4.11; 4.12
- redhat openshift_container_platform_for_linuxone: 4.9; 4.10
- redhat openshift_container_platform_for_power: 4.9; 4.10
- redhat single_sign-on: 7.6

## Every score

- redhat: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://access.redhat.com/errata/RHSA-2024:1674> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:1675> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:1676> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:1677> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:1860> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:1861> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:1862> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:1864> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:1866> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:3354> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:4884> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:4226> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:9583> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-1635> (third-party-advisory, vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2264928> (issue-tracking, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20240322-0007/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-1635> (advisory)
- <https://github.com/undertow-io/undertow/commit/7d388c5aae9b82afb63f24e3b6a2044838dfb4de> (web)
- <https://github.com/undertow-io/undertow/commit/3cdb104e225f34547ce9fd6eb8799eb68e040f19> (web)
- <https://security.netapp.com/advisory/ntap-20240322-0007> (web)
- <https://github.com/undertow-io/undertow> (package)

## Sources

- CVE List: [CVE-2024-1635](https://www.cve.org/CVERecord?id=CVE-2024-1635), CVE Terms of Use, modified 2026-11-27
- GitHub Advisory Database: [GHSA-w6qf-42m7-vh68](https://github.com/advisories/GHSA-w6qf-42m7-vh68), CC-BY-4.0, modified 2025-04-28
- NVD: [CVE-2024-1635](https://nvd.nist.gov/vuln/detail/CVE-2024-1635), Public domain, modified 2026-11-27

---

Page: https://cve.day/CVE-2024-1635 · Whole record: https://cve.day/CVE-2024-1635.json · Rebuilt by cve.day 2026-11-27T08:17:18.983Z
