CVE-2024-1635

CVE-2024-1635 is a high-severity uncontrolled resource consumption vulnerability in io.undertow:undertow-core (maven), affecting versions >= 2.3.0.Final, < 2.3.12.Final. It is fixed in 2.3.12.Final, 2.2.31.Final.

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.

Impact

Crafted input forces the application to consume excessive CPU, memory, or other resources, degrading or denying service. Typical impact: denial of service.

CVE-2024-1635 has a CVSS score of 7.5 (High). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (2.3.12.Final, 2.2.31.Final); upgrading removes the vulnerable code path.

Affected versions

io.undertow:undertow-core (>= 2.3.0.Final, < 2.3.12.Final) io.undertow:undertow-core (< 2.2.31.Final)

Security releases

io.undertow:undertow-core → 2.3.12.Final (maven) io.undertow:undertow-core → 2.2.31.Final (maven)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

Upgrade the following packages to resolve this vulnerability:

io.undertow:undertow-core to 2.3.12.Final or later; io.undertow:undertow-core to 2.2.31.Final or later

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2024-1635? CVE-2024-1635 is a high-severity uncontrolled resource consumption vulnerability in io.undertow:undertow-core (maven), affecting versions >= 2.3.0.Final, < 2.3.12.Final. It is fixed in 2.3.12.Final, 2.2.31.Final. Crafted input forces the application to consume excessive CPU, memory, or other resources, degrading or denying service.
  2. How severe is CVE-2024-1635? CVE-2024-1635 has a CVSS score of 7.5 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of io.undertow:undertow-core are affected by CVE-2024-1635? io.undertow:undertow-core (maven) versions >= 2.3.0.Final, < 2.3.12.Final is affected.
  4. Is there a fix for CVE-2024-1635? Yes. CVE-2024-1635 is fixed in 2.3.12.Final, 2.2.31.Final. Upgrade to this version or later.
  5. Is CVE-2024-1635 exploitable, and should I be worried? Whether CVE-2024-1635 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2024-1635 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2024-1635?
    • Upgrade io.undertow:undertow-core to 2.3.12.Final or later
    • Upgrade io.undertow:undertow-core to 2.2.31.Final or later

Other vulnerabilities in io.undertow:undertow-core

CVE-2026-3260CVE-2024-4027CVE-2025-12543CVE-2024-3884CVE-2023-4639

Stop the waste.
Protect your environment with Kodem.