# CVE-2024-1300: Io.vertx:vertx-core: memory leak when a tcp server is configured with tls and sni support

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.4
- **CVSS:** 5.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.30% (percentile 71, 2026-11-28)
- **CWE:** CWE-772
- **Aliases:** GHSA-9ph3-v2vh-3qx7
- **Published:** 2024-04-02T07:33:05.215Z
- **Modified:** 2026-11-26T18:17:15.310Z

## Who should check

- Projects that depend on Maven package io.vertx:vertx-core (\>= 4.3.4, \< 4.4.8)
- Anyone running io.vertx:vertx-core \>= 4.3.4, \<= 4.5.2
- Anyone running Red Hat CEQ 3.2 (versions: see the vendor advisory)
- Anyone running Red Hat Cryostat 2 on RHEL 8 all versions
- Anyone running Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 all versions
- Anyone running Red Hat MTA-6.2-RHEL-9 all versions
- Anyone running Red Hat AMQ Streams 2.7.0 (versions: see the vendor advisory)
- Anyone running Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2 (versions: see the vendor advisory)

## Description

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.

## Affected and fixed versions

- Maven `io.vertx:vertx-core`: affected \>= 4.3.4, \< 4.4.8; fixed 4.4.8, 4.5.3 (osv)
- io.vertx:vertx-core: \>= 4.3.4, \<= 4.5.2 (cvelist)
- Red Hat CEQ 3.2: see vendor advisory (cvelist)
- Red Hat Cryostat 2 on RHEL 8: all versions (cvelist)
- Red Hat Cryostat 2 on RHEL 8: all versions (cvelist)
- Red Hat Cryostat 2 on RHEL 8: all versions (cvelist)
- Red Hat Cryostat 2 on RHEL 8: all versions (cvelist)
- Red Hat Cryostat 2 on RHEL 8: all versions (cvelist)
- Red Hat Cryostat 2 on RHEL 8: all versions (cvelist)
- Red Hat Migration Toolkit for Runtimes 1 on RHEL 8: all versions (cvelist)
- Red Hat Migration Toolkit for Runtimes 1 on RHEL 8: all versions (cvelist)
- Red Hat Migration Toolkit for Runtimes 1 on RHEL 8: all versions (cvelist)
- Red Hat Migration Toolkit for Runtimes 1 on RHEL 8: all versions (cvelist)
- Red Hat MTA-6.2-RHEL-9: all versions (cvelist)
- Red Hat AMQ Streams 2.7.0: see vendor advisory (cvelist)
- Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2: see vendor advisory (cvelist)
- Red Hat build of Quarkus 3.2.11.Final: all versions (cvelist)
- Red Hat RHINT Service Registry 2.5.11 GA: see vendor advisory (cvelist)
- Red Hat A-MQ Clients 2: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat AMQ Broker 7: see vendor advisory (cvelist)
- Red Hat build of Apache Camel 4 for Quarkus 3: all versions (cvelist)
- Red Hat build of Apache Camel for Spring Boot 3: all versions (cvelist)
- Red Hat Build of Keycloak: all versions (cvelist)
- Red Hat build of OptaPlanner 8: all versions (cvelist)
- Red Hat build of Quarkus: all versions (cvelist)
- Red Hat Data Grid 8: see vendor advisory (cvelist)
- Red Hat Fuse 7: see vendor advisory (cvelist)
- Red Hat Integration Camel K 1: all versions (cvelist)
- Red Hat Integration Camel Quarkus 2: all versions (cvelist)
- Red Hat JBoss Data Grid 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform 8: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform Expansion Pack: see vendor advisory (cvelist)
- Red Hat Process Automation 7: all versions (cvelist)

## Mitigation

- Upgrade io.vertx:vertx-core to one of 4.4.8, 4.5.3 (or later in the same release line).
- Vendor workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-1300. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-1300.md
Affected: io.vertx:vertx-core >= 4.3.4, < 4.4.8
Fixed in: 4.4.8, 4.5.3

Steps:
1. Search this machine and project for io.vertx:vertx-core (Maven), io.vertx:vertx-core, Red Hat CEQ 3.2, Red Hat Cryostat 2 on RHEL 8, Red Hat Migration Toolkit for Runtimes 1 on RHEL 8, Red Hat MTA-6.2-RHEL-9: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-1300 being exploited?

There is no confirmed exploitation: CVE-2024-1300 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.30% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-1300?

Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2024-1300?

io.vertx:vertx-core \>= 4.3.4, \< 4.4.8.

### Is there a fix for CVE-2024-1300?

Yes. Fixed in 4.4.8, 4.5.3. Upgrade io.vertx:vertx-core to one of 4.4.8, 4.5.3 (or later in the same release line). Vendor workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

### How do I check if I'm affected by CVE-2024-1300?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2024:1662>
- vendor: <https://access.redhat.com/errata/RHSA-2024:1706>
- vendor: <https://access.redhat.com/errata/RHSA-2024:1923>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2088>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2833>
- vendor: <https://access.redhat.com/errata/RHSA-2024:3527>
- vendor: <https://access.redhat.com/errata/RHSA-2024:3989>
- vendor: <https://access.redhat.com/errata/RHSA-2024:4884>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-1300>
- patch: <https://github.com/eclipse-vertx/vert.x/pull/5101>
- patch: <https://github.com/eclipse-vertx/vert.x/pull/5100>
- patch: <https://github.com/eclipse-vertx/vert.x/pull/5099>
- patch: <https://github.com/eclipse-vertx/vert.x/commit/7ad34ea9d78f85e26b231ee3ec8d492d10046479>
- patch: <https://github.com/eclipse-vertx/vert.x/commit/3d9235cadf44df39a70dc75bddfe0b8fcbd6a683>
- other: <https://access.redhat.com/security/cve/CVE-2024-1300>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2263139>
- other: <https://vertx.io/docs/vertx-core/java/#_server_name_indication_sni.>
- other: <https://github.com/eclipse-vertx/vert.x>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-1300>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9ph3-v2vh-3qx7> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-1300> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-1300>
