CVE-2024-1300: Vertx core Eclipse Vert.x Vulnerable To A Vulnerability
MODERATECVE-2024-1300 is a MODERATE (CVSS 5.4) eclipse vert.x vulnerable to a vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Vertx core libraries in the Maven ecosystem. The issue involves eclipse vert.x vulnerable to a memory leak in tcp servers. Remediation is available by upgrading affected packages to version 4.4.8, 4.5.3.
CVE-2024-1300 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L).
How to Fix CVE-2024-1300
To remediate this vulnerability, upgrade all affected Vertx core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-core</artifactId>
<version>4.4.8</version>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-core</artifactId>
<version>4.5.3</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.vertx
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-1300, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.vertx
Analyze the terminal output to locate any version of Vertx core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.4.8), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.vertx command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Vertx core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-1300 Affected Vertx core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.vertx:vertx-core
|
Maven |
≥ 4.3.4
< 4.4.8
|
4.4.8
|
|
io.vertx:vertx-core
|
Maven |
≥ 4.5.0
< 4.5.3
|
4.5.3
|
References
Frequently Asked Questions
What is CVE-2024-1300?
Which Vertx core versions are affected?
What version fixes CVE-2024-1300?
Is vertx-core affected?
What is the CVSS score of CVE-2024-1300?
What CWE is associated with CVE-2024-1300?
How can I check Maven dependencies for CVE-2024-1300?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9ph3-v2vh-3qx7",
"modified" : "2026-02-27T20:57:55Z",
"published" : "2024-04-02T09:30:42Z",
"aliases" : [ "CVE-2024-1300" ],
"summary" : "Eclipse Vert.x vulnerable to a memory leak in TCP servers",
"details" : "A vulnerability in the Eclipse Vert.x toolkit causes a memory leak in TCP servers configured with TLS and SNI support. When processing an unknown SNI server name assigned the default certificate instead of a mapped certificate, the SSL context is erroneously cached in the server name map, leading to memory exhaustion. This flaw allows attackers to send TLS client hello messages with fake server names, triggering a JVM out-of-memory error.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.vertx:vertx-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.3.4"
}, {
"fixed" : "4.4.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "io.vertx:vertx-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.5.0"
}, {
"fixed" : "4.5.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-1300"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-vertx/vert.x/pull/5101"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-vertx/vert.x/pull/5100"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-vertx/vert.x/pull/5099"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-vertx/vert.x/commit/7ad34ea9d78f85e26b231ee3ec8d492d10046479"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-vertx/vert.x/commit/3d9235cadf44df39a70dc75bddfe0b8fcbd6a683"
}, {
"type" : "WEB",
"url" : "https://vertx.io/docs/vertx-core/java/#_server_name_indication_sni."
}, {
"type" : "PACKAGE",
"url" : "https://github.com/eclipse-vertx/vert.x"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2263139"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-1300"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:4884"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:3989"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:3527"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:2833"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:2088"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:1923"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:1706"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:1662"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-772" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-02T16:15:47Z",
"nvd_published_at" : "2024-04-02T08:15:53Z"
}
}