CVE-2024-1023
Io.vertx/vertx-core: memory leak due to the use of netty fastthreadlocal data structures in vertx
Check your servers for CVE-2024-1023
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-1023 affects vert.x, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.76%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 78.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 3 Apr 2024):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-401 Missing Release of Memory after Effective Lifetime
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
vertx-core
package
vertx-core |
affected 4.4.5 affected 4.4.6 affected 4.5.0 affected 4.5.1
Other versions: unaffected
|
|
CEQ 3.2
package
vert.x |
unaffected the record does not list versions
|
|
Cryostat 2 on RHEL 8
package
cryostat-tech-preview/cryostat-grafana-dashboard-rhel8 |
unaffected 2.4.0-7 and later
Other versions: affected
|
|
Cryostat 2 on RHEL 8
package
cryostat-tech-preview/cryostat-operator-bundle |
unaffected 2.4.0-4 and later
Other versions: affected
|
|
Cryostat 2 on RHEL 8
package
cryostat-tech-preview/cryostat-reports-rhel8 |
unaffected 2.4.0-4 and later
Other versions: affected
|
|
Cryostat 2 on RHEL 8
package
cryostat-tech-preview/cryostat-rhel8 |
unaffected 2.4.0-4 and later
Other versions: affected
|
|
Cryostat 2 on RHEL 8
package
cryostat-tech-preview/cryostat-rhel8-operator |
unaffected 2.4.0-9 and later
Other versions: affected
|
|
Cryostat 2 on RHEL 8
package
cryostat-tech-preview/jfr-datasource-rhel8 |
unaffected 2.4.0-4 and later
Other versions: affected
|
|
MTA-6.2-RHEL-9
package
mta/mta-windup-addon-rhel9 |
unaffected 6.2.3-2 and later
Other versions: affected
|
|
Red Hat AMQ Streams 2.7.0
package
vert.x |
unaffected the record does not list versions
|
|
Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2
package
vert.x |
unaffected the record does not list versions
|
|
Red Hat build of Quarkus 3.2.11.Final
package
io.vertx/vertx-core |
unaffected 4.4.8.redhat-00001 and later
Other versions: affected
|
|
RHINT Service Registry 2.5.11 GA
package
vert.x |
unaffected the record does not list versions
|
|
A-MQ Clients 2
package
vert.x |
unaffected the record does not list versions
|
|
Migration Toolkit for Runtimes
package
vert.x |
affected the record does not list versions
|
|
OpenShift Serverless
package
vert.x |
unaffected the record does not list versions
|
|
Red Hat AMQ Broker 7
package
vert.x |
unaffected the record does not list versions
|
|
Red Hat build of Apache Camel for Spring Boot 3
package
vert.x |
affected the record does not list versions
|
|
Red Hat Build of Keycloak
package
vert.x |
affected the record does not list versions
|
|
Red Hat build of OptaPlanner 8
package
vert.x |
affected the record does not list versions
|
|
Red Hat build of Quarkus
package
vertx-core |
unaffected the record does not list versions
|
|
Red Hat Data Grid 8
package
vert.x |
affected the record does not list versions
|
|
Red Hat Fuse 7
package
vert.x |
unaffected the record does not list versions
|
|
Red Hat Integration Camel K 1
package
vert.x |
affected the record does not list versions
|
|
Red Hat Integration Camel Quarkus 2
package
vert.x |
affected the record does not list versions
|
|
Red Hat JBoss Data Grid 7
package
vert.x |
affected the record does not list versions
|
|
Red Hat JBoss Enterprise Application Platform 7
package
vert.x |
unaffected the record does not list versions
|
|
Red Hat JBoss Enterprise Application Platform 8
package
vert.x |
unaffected the record does not list versions
|
|
Red Hat JBoss Enterprise Application Platform Expansion Pack
package
vert.x |
unaffected the record does not list versions
|
|
Red Hat Process Automation 7
package
vert.x |
unaffected the record does not list versions
|
Is my server affected?
Find the installed version of vert.x and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i vert.x
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-1023 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-1023RHEL, Rocky, Alma, Fedora
rpm -q vert.x
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-1023Alpine
apk list --installed | grep -i vert.xWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-1023
trivy image --scanners vuln IMAGE | grep CVE-2024-1023
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2024:1662 access.redhat.com · vendor advisory
- RHSA-2024:1706 access.redhat.com · vendor advisory
- RHSA-2024:2088 access.redhat.com · vendor advisory
- RHSA-2024:2833 access.redhat.com · vendor advisory
- RHSA-2024:3527 access.redhat.com · vendor advisory
- RHSA-2024:3989 access.redhat.com · vendor advisory
- RHSA-2024:4884 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2024-1023 access.redhat.com · vdb entry
- RHBZ#2260840 bugzilla.redhat.com · issue tracking
Other references
- https://github.com/eclipse-vertx/vert.x/issues/5078 github.com
- https://github.com/eclipse-vertx/vert.x/pull/5080 github.com
- https://github.com/eclipse-vertx/vert.x/pull/5082 github.com
Source: the record CVE-2024-1023 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse