CVE-2024-1023: Eclipse Vert.x memory leak
A vulnerability in the Eclipse Vert.x toolkit results in a memory leak due to using Netty FastThreadLocal data structures. Specifically, when the Vert.x HTTP client establishes connections to different hosts, triggering the memory leak. The leak can be accelerated with intimate runtime knowledge, allowing an attacker to exploit this vulnerability.
Published Mar 27, 2024 · Updated Jul 25, 2024
Affected packages
io.vertx:vertx-core
- Ecosystem
- Maven
- Affected
- >= 4.5.0, < 4.5.2
- Fixed in
- 4.5.2
- Check
mvn dependency:tree -Dincludes=io.vertx:vertx-core
io.vertx:vertx-core
- Ecosystem
- Maven
- Affected
- >= 4.4.5, < 4.4.7
- Fixed in
- 4.4.7
- Check
mvn dependency:tree -Dincludes=io.vertx:vertx-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability in the Eclipse Vert.x toolkit results in a memory leak due to using Netty FastThreadLocal data structures. Specifically, when the Vert.x HTTP client establishes connections to different hosts, triggering the memory leak. The leak can be accelerated with intimate runtime knowledge, allowing an attacker to exploit this vulnerability. For instance, a server accepting arbitrary internet addresses could serve as an attack vector by connecting to these addresses, thereby accelerating the memory leak.
Credited to marcelstoer.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-1023
- https://github.com/eclipse-vertx/vert.x/issues/5078
- https://github.com/eclipse-vertx/vert.x/pull/5080
- https://github.com/eclipse-vertx/vert.x/pull/5082
- https://access.redhat.com/security/cve/CVE-2024-1023
- https://bugzilla.redhat.com/show_bug.cgi?id=2260840
- https://github.com/eclipse-vertx/vert.x/commit/665ceba38444e3929bb7b9a2a0bae2cb603fe81b
- https://github.com/eclipse-vertx/vert.x/commit/dd6f64302b56cd4d3dcf61efaaf174b5f6ce676d
- https://access.redhat.com/errata/RHSA-2024:1662
- https://access.redhat.com/errata/RHSA-2024:1706
- https://access.redhat.com/errata/RHSA-2024:2088
- https://access.redhat.com/errata/RHSA-2024:2833
- https://access.redhat.com/errata/RHSA-2024:3527
- https://access.redhat.com/errata/RHSA-2024:3989
- https://access.redhat.com/errata/RHSA-2024:4884
- https://github.com/advisories/GHSA-5667-3wch-7q7w
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-6860
Vert.x has a DoS via unbounded server-side SNI SslContext cache growth
medium5.3No fixMay 9, 2026CVE-2026-1002
Vert.x Web static handler component cache can be manipulated to deny the access to static files
medium6.9Jan 15, 2026CVE-2024-1300
Eclipse Vert.x vulnerable to a memory leak in TCP servers
medium5.4Apr 2, 2024
