Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.undertow/undertow-core
  4. ›
  5. CVE-2024-1635

CVE-2024-1635: Undertow Uncontrolled Resource Consumption Vulnerability

February 20, 2024 (updated April 28, 2025)

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.

References

  • access.redhat.com/errata/RHSA-2024:1674
  • access.redhat.com/errata/RHSA-2024:1675
  • access.redhat.com/errata/RHSA-2024:1676
  • access.redhat.com/errata/RHSA-2024:1677
  • access.redhat.com/errata/RHSA-2024:1860
  • access.redhat.com/errata/RHSA-2024:1861
  • access.redhat.com/errata/RHSA-2024:1862
  • access.redhat.com/errata/RHSA-2024:1864
  • access.redhat.com/errata/RHSA-2024:1866
  • access.redhat.com/errata/RHSA-2024:3354
  • access.redhat.com/errata/RHSA-2024:4884
  • access.redhat.com/errata/RHSA-2025:4226
  • access.redhat.com/security/cve/CVE-2024-1635
  • bugzilla.redhat.com/show_bug.cgi?id=2264928
  • github.com/advisories/GHSA-w6qf-42m7-vh68
  • github.com/undertow-io/undertow
  • github.com/undertow-io/undertow/commit/3cdb104e225f34547ce9fd6eb8799eb68e040f19
  • github.com/undertow-io/undertow/commit/7d388c5aae9b82afb63f24e3b6a2044838dfb4de
  • nvd.nist.gov/vuln/detail/CVE-2024-1635
  • security.netapp.com/advisory/ntap-20240322-0007

Code Behaviors & Features

Detect and mitigate CVE-2024-1635 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.3.0.Final before 2.3.12.Final, all versions before 2.2.31.Final

Fixed versions

  • 2.3.12.Final
  • 2.2.31.Final

Solution

Upgrade to versions 2.2.31.Final, 2.3.12.Final or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

maven/io.undertow/undertow-core/CVE-2024-1635.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:03 +0000.