CVE Vulnerabilities

CVE-2024-1300

Missing Release of Memory after Effective Lifetime

Published: Apr 02, 2024 | Modified: Nov 25, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5.4 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
Ubuntu

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.

Weakness

The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory.

Affected Software

Name Vendor Start Version End Version
CEQ 3.2 RedHat vertx-core *
Cryostat 2 on RHEL 8 RedHat cryostat-tech-preview/cryostat-grafana-dashboard-rhel8:2.4.0-7 *
Cryostat 2 on RHEL 8 RedHat cryostat-tech-preview/cryostat-operator-bundle:2.4.0-4 *
Cryostat 2 on RHEL 8 RedHat cryostat-tech-preview/cryostat-reports-rhel8:2.4.0-4 *
Cryostat 2 on RHEL 8 RedHat cryostat-tech-preview/cryostat-rhel8:2.4.0-4 *
Cryostat 2 on RHEL 8 RedHat cryostat-tech-preview/cryostat-rhel8-operator:2.4.0-9 *
Cryostat 2 on RHEL 8 RedHat cryostat-tech-preview/jfr-datasource-rhel8:2.4.0-4 *
Migration Toolkit for Runtimes 1 on RHEL 8 RedHat mtr/mtr-operator-bundle:1.2-18 *
Migration Toolkit for Runtimes 1 on RHEL 8 RedHat mtr/mtr-rhel8-operator:1.2-11 *
Migration Toolkit for Runtimes 1 on RHEL 8 RedHat mtr/mtr-web-container-rhel8:1.2-12 *
Migration Toolkit for Runtimes 1 on RHEL 8 RedHat mtr/mtr-web-executor-container-rhel8:1.2-10 *
MTA-6.2-RHEL-9 RedHat mta/mta-windup-addon-rhel9:6.2.3-2 *
Red Hat AMQ Streams 2.7.0 RedHat vertx-core *
Red Hat build of Apache Camel 4.4.1 for Spring Boot RedHat vertx-core *
Red Hat build of Quarkus 3.2.11.Final RedHat io.vertx/vertx-core:4.4.8.redhat-00001 *
RHINT Service Registry 2.5.11 GA RedHat vertx-core *

Potential Mitigations

  • Choose a language or tool that provides automatic memory management, or makes manual memory management less error-prone.
  • For example, glibc in Linux provides protection against free of invalid pointers.
  • When using Xcode to target OS X or iOS, enable automatic reference counting (ARC) [REF-391].
  • To help correctly and consistently manage memory when programming in C++, consider using a smart pointer class such as std::auto_ptr (defined by ISO/IEC ISO/IEC 14882:2003), std::shared_ptr and std::unique_ptr (specified by an upcoming revision of the C++ standard, informally referred to as C++ 1x), or equivalent solutions such as Boost.

References