CVE-2024-1023
Java vulnerability analysis and mitigation

Overview

A vulnerability in the Eclipse Vert.x toolkit (CVE-2024-1023) results in a memory leak due to using Netty FastThreadLocal data structures. The vulnerability was discovered in Vert.x versions 4.4.5, 4.4.6, 4.5.0, and 4.5.1. Specifically, when the Vert.x HTTP client establishes connections to different hosts, it triggers the memory leak. The issue was first reported in January 2024 and has been assigned a CVSS v3 base score of 6.5 (Moderate severity) (Red Hat CVE).

Technical details

The vulnerability stems from the CombinerExecutor class creating an instance of FastThreadLocal for each combiner executor, leading to an increase of the InternalThreadLocalMap index. Consequently, each thread local map of FastThreadLocalThread gets a new map sized accordingly, causing the memory leak. The issue occurs specifically when the Vert.x HTTP client connects to different hosts, making the leak progress further. For example, after approximately 8 hours of uptime, each of the 128 threads can have indexedVariables arrays with lengths exceeding 8,000,000 and consuming over 60MB of memory, with 99.999% of values being empty (GitHub Issue).

Impact

The memory 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. This can lead to significant memory consumption and potential system instability (Red Hat CVE).

Exploitability

The vulnerability can be exploited in environments where an attacker can control the addresses to which the Vert.x HTTP client connects. The leak can be accelerated through targeted manipulation of connection patterns, particularly in scenarios where a server accepts and processes arbitrary internet addresses (GitHub Issue).

Mitigation and workarounds

The issue has been fixed by modifying the CombinerExecutor class to use a static FastThreadLocal instead of an instance field. The fix was implemented in Vert.x versions 4.4.7 and 4.5.2. Users are advised to upgrade to these or later versions to address the vulnerability. The data structure stored in the thread local map has been optimized to keep track of the CombinerExecutor running without interfering with other tasks (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-58400CRITICAL9.1
  • Java logoJava
  • org.geonetwork-opensource:gs-web-app
NoYesSep 03, 2026
CVE-2026-63219HIGH8.6
  • Java logoJava
  • org.geonetwork-opensource:gn-services
NoYesSep 03, 2026
CVE-2026-49832HIGH8
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026
CVE-2026-55864HIGH7.7
  • Java logoJava
  • org.geonetwork-opensource:gn-web-app
NoYesSep 09, 2026
CVE-2026-49833MEDIUM5.5
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management