Skip to content

Eclipse Vert.x vulnerable to a memory leak in TCP servers

Moderate severity GitHub Reviewed Published Apr 2, 2024 to the GitHub Advisory Database • Updated May 14, 2024

Package

maven io.vertx:vertx-core (Maven)

Affected versions

>= 4.3.4, < 4.4.8
>= 4.5.0, < 4.5.3

Patched versions

4.4.8
4.5.3

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.

References

Published by the National Vulnerability Database Apr 2, 2024
Published to the GitHub Advisory Database Apr 2, 2024
Reviewed Apr 2, 2024
Last updated May 14, 2024

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

Weaknesses

CVE ID

CVE-2024-1300

GHSA ID

GHSA-9ph3-v2vh-3qx7

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.