CVE-2024-1300: Vertx core Eclipse Vert.x Vulnerable To A Vulnerability

MODERATE
Advisory Identifier: GHSA-9ph3-v2vh-3qx7
CVSS 5.4
CWE-400 CWE-772
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2024-1300
GHSA Identifier GHSA-9ph3-v2vh-3qx7
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Vertx core
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability Low (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.

io.vertx:vertx-core fixed: 4.4.8
<dependency>
    <groupId>io.vertx</groupId>
    <artifactId>vertx-core</artifactId>
    <version>4.4.8</version>
</dependency>
io.vertx:vertx-core fixed: 4.5.3
<dependency>
    <groupId>io.vertx</groupId>
    <artifactId>vertx-core</artifactId>
    <version>4.5.3</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2024-1300 Affected Vertx core Versions

2 component(s)
Fixed Versions:
4.4.84.5.3
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

NVD — CVE-2024-1300 NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-1300
Vertx core Source Repository REPOSITORY
https://github.com/eclipse-vertx/vert.x/pull/5101
Vertx core Source Repository REPOSITORY
https://github.com/eclipse-vertx/vert.x/pull/5100
Vertx core Source Repository REPOSITORY
https://github.com/eclipse-vertx/vert.x/pull/5099
Security Fix Commit FIX COMMIT
https://github.com/eclipse-vertx/vert.x/commit/7ad34ea9d78f85e26b231ee3ec8d492d10046479
Security Fix Commit FIX COMMIT
https://github.com/eclipse-vertx/vert.x/commit/3d9235cadf44df39a70dc75bddfe0b8fcbd6a683
vertx.io/docs/vertx-core/jav... WEB
https://vertx.io/docs/vertx-core/java/#_server_name_indication_sni.
Vertx core Source Repository REPOSITORY
https://github.com/eclipse-vertx/vert.x
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2263139
Vertx core Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2024-1300
access.redhat.com/errata/rhsa-2024:48... WEB
https://access.redhat.com/errata/RHSA-2024:4884
access.redhat.com/errata/rhsa-2024:39... WEB
https://access.redhat.com/errata/RHSA-2024:3989
access.redhat.com/errata/rhsa-2024:35... WEB
https://access.redhat.com/errata/RHSA-2024:3527
access.redhat.com/errata/rhsa-2024:28... WEB
https://access.redhat.com/errata/RHSA-2024:2833
access.redhat.com/errata/rhsa-2024:20... WEB
https://access.redhat.com/errata/RHSA-2024:2088
access.redhat.com/errata/rhsa-2024:19... WEB
https://access.redhat.com/errata/RHSA-2024:1923
access.redhat.com/errata/rhsa-2024:17... WEB
https://access.redhat.com/errata/RHSA-2024:1706
access.redhat.com/errata/rhsa-2024:16... WEB
https://access.redhat.com/errata/RHSA-2024:1662

Frequently Asked Questions

What is CVE-2024-1300?
CVE-2024-1300 is a security vulnerability in Vertx core involving Eclipse Vert.x vulnerable to a memory leak in TCP servers under CWE-400: Uncontrolled Resource Consumption.
Which Vertx core versions are affected?
Affected versions include releases prior to 4.4.8, 4.5.3 across affected packages: io.vertx:vertx-core.
What version fixes CVE-2024-1300?
Upgrading to 4.4.8, 4.5.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vertx-core affected?
Yes, io.vertx:vertx-core is affected in releases prior to 4.4.8, 4.5.3. Upgrade your dependency to 4.4.8, 4.5.3 or later.
What is the CVSS score of CVE-2024-1300?
CVE-2024-1300 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L.
What CWE is associated with CVE-2024-1300?
CVE-2024-1300 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Maven dependencies for CVE-2024-1300?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.vertx'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}