High

Undertow Uncontrolled Resource Consumption Vulnerability

  • Disclosed: 20.02.2024
  • Updated: 11.10.2026 12:21

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) io.undertow:undertow-core >= 2.3.0.Final, < 2.3.12.Final, < 2.2.31.Final 2.3.12.Final, 2.2.31.Final

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-400
Platform
Java / Kotlin (Maven)
Package
io.undertow:undertow-core
Disclosed
20.02.2024
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-w6qf-42m7-vh68 - CC BY 4.0

Vulnerability history: io.undertow:undertow-core

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (39) in the archive
Total entries
39
First → latest
10.2018 03.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 4
  • High 19
  • Medium 16

Disclosures per year

  1. 2018: 2
  2. 2019: 2
  3. 2020: 0
  4. 2021: 4
  5. 2022: 16
  6. 2023: 2
  7. 2024: 8
  8. 2025: 2
  9. 2026: 3
Severity:
  1. High · 7.5 CVE-2024-4027 < 2.2.39.Final, >= 2.4.0.Alpha1, < 2.4.0.Beta1, >= 2.3.0.Alpha1, < 2.3.21.Final 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final
  2. Critical · 9.6 CVE-2025-12543 >= 2.3.0.Alpha1, < 2.3.21.Final, < 2.2.39.Final, = 2.4.0.Alpha1 2.3.21.Final, 2.2.39.Final
  3. High · 7.5 CVE-2024-3884 < 2.2.39.Final, >= 2.4.0.Alpha1, < 2.4.0.Beta1, >= 2.3.0.Alpha1, < 2.3.21.Final 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final
  4. High · 7.5 CVE-2025-9784 < 2.2.38.Final, >= 2.3.0.Alpha1, < 2.3.20.Final 2.2.38.Final, 2.3.20.Final
  5. High · 7.4 CVE-2023-4639 >= 2.3.0.Alpha1, < 2.3.11.Final, < 2.2.30.Final 2.3.11.Final, 2.2.30.Final
  6. High · 7.5 CVE-2024-7885 < 2.2.36.Final, >= 2.3.0.Alpha1, < 2.3.17.Final 2.2.36.Final, 2.3.17.Final
  7. High · 7.5 CVE-2024-5971 >= 2.3.0.Alpha1, < 2.3.15.Final, < 2.2.34.Final 2.3.15.Final, 2.2.34.Final
  8. High · 7.5 CVE-2024-6162 >= 2.3.0.Alpha1, < 2.3.14.Final, < 2.2.33.Final 2.3.14.Final, 2.2.33.Final
  9. Undertow Uncontrolled Resource Consumption Vulnerability this entry
    High · 7.5 CVE-2024-1635 >= 2.3.0.Final, < 2.3.12.Final, < 2.2.31.Final 2.3.12.Final, 2.2.31.Final
  10. High · 7.5 CVE-2023-1108 >= 2.3.0, < 2.3.5.Final, < 2.2.24.Final 2.3.5.Final, 2.2.24.Final
  11. Critical · 9.8 CVE-2022-4492 >= 2.3.0, < 2.3.5.Final, < 2.2.24.Final 2.3.5.Final, 2.2.24.Final
  12. High · 7.5 CVE-2022-2053 < 2.2.19.Final, >= 2.3.0.Alpha1, < 2.3.0.Alpha2 2.2.19.Final, 2.3.0.Alpha2
  13. High · 7.5 CVE-2021-3859 < 2.2.15 2.2.15
  14. High · 7.5 CVE-2021-3690 < 2.0.40, >= 2.2.0, < 2.2.10 2.0.40, 2.2.10
  15. High · 7.5 CVE-2021-3629 < 2.0.40.Final, >= 2.1.0, < 2.2.11.Final 2.0.40.Final, 2.2.11.Final
  16. High · 8.6 CVE-2020-1745 < 2.0.30 2.0.30
  17. High · 8.1 CVE-2020-1757 < 2.1.0 2.1.0
  18. High · 7.5 CVE-2019-14888 < 2.0.29.Final 2.0.29.Final
  19. High · 7.5 CVE-2017-12165 < 1.3.31, >= 1.4.0, < 1.4.17, >= 2.0.0.Alpha1, < 2.0.0.Beta1 1.3.31, 1.4.17, 2.0.0.Beta1
  20. High · 7.5 CVE-2020-27782 >= 2.1.0, < 2.1.5, < 2.0.33 2.1.5, 2.0.33
  21. High · 7.5 CVE-2020-10705 < 2.1.1.Final 2.1.1.Final
  22. Critical · 9.8 CVE-2019-3888 < 2.0.21 2.0.21

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.