1. Archivio CVE
  2. 2024
  3. CVE-2024-1394

CVE-2024-1394

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – Alta

Descrizione

A memory leak flaw was found in Golang in the RSA encrypting/decrypting code, which might lead to a resource exhaustion vulnerability using attacker-controlled inputs​. The memory leak happens in github.com/golang-fips/openssl/openssl/rsa.go#L113. The objects leaked are pkey​ and ctx​. That function uses named return parameters to free pkey​ and ctx​ if there is an error initializing the context or setting the different properties. All return statements related to error cases follow the "return nil, nil, fail(...)" pattern, meaning that pkey​ and ctx​ will be nil inside the deferred function that should free them.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
redhat ansible automation platform tutte –
redhat ansible automation platform 2.4 –
redhat ansible automation platform 2.4 –
redhat ansible automation platform developer 2.4 –
redhat ansible automation platform developer 2.4 –
redhat ansible automation platform inside 2.4 –
redhat ansible automation platform inside 2.4 –
redhat certifications 1 –
redhat certifications 9 –
redhat container native virtualization 4 –
redhat devtools 2023 –
redhat enterprise linux 8 –
redhat enterprise linux 9 –
redhat enterprise linux 8 –
redhat enterprise linux 9 –
redhat network bound disk encryption tang 1 –
redhat ocp tools tutte –
redhat openshift 4 –
redhat openshift 4.12 –
redhat openshift 4.12 –
redhat openshift 4.13 –
redhat openshift 4.13 –
redhat openshift 4.14 –
redhat openshift 4.14 –
redhat openshift 4.15 –
redhat openshift 4.15 –
redhat openshift container storage 4 –
redhat openshift data foundation 4.16 –
redhat openshift devspaces 3 –
redhat openshift gitops 1 –
redhat openshift pipelines 1 –
redhat openshift service on aws 1 –
redhat openstack 16.2 –
redhat openstack 17.1 –
redhat openstack 17.1 –
redhat openstack 16.1 –
redhat openstack 16.2 –
redhat openstack 17.1 –
redhat openstack 18.0 –
redhat rhel e4s 9.0 –
redhat rhel els 7 –
redhat rhel eus 9.2 –
redhat rhel software collections 3 –
redhat serverless 1 –
redhat service interconnect 1 –
redhat storage 3 –
Tutte le 483 vulnerabilità di Redhat Openshift

Tipo di vulnerabilità

CWE-401 Memoria non rilasciata dopo l’uso (memory leak)

Il prodotto non tiene traccia della memoria allocata e non la rilascia dopo l’uso, rendendola indisponibile per altri impieghi.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria
Altro Ridurre le prestazioni

Come si previene

Sviluppo · Librerie o framework 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). To help correctly and consistently manage memory when programming in C++, consider using a smart pointer class such as std
Architettura e progettazione Use an abstraction library to abstract away risky APIs. Not a complete solution.
Architettura e progettazione · Build e compilazione Consider using the Boehm-Demers-Weiser garbage collector (bdwgc), which can help avoid leaks.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 2.069 CVE di tipo CWE-401, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org