1. Archivio CVE
  2. 2023
  3. CVE-2023-4806

CVE-2023-4806

5.9 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H 5.9 – Media

Descrizione

A flaw has been identified in glibc. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash. This issue is only exploitable when a NSS module implements only the _nss_*_gethostbyname2_r and _nss_*_getcanonname_r hooks without implementing the _nss_*_gethostbyname3_r hook. The resolved name should return a large number of IPv6 and IPv4, and the call to the getaddrinfo function should have the AF_INET6 address family with AI_CANONNAME, AI_ALL and AI_V4MAPPED as flags.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
fedoraproject fedora 37 –
fedoraproject fedora 38 –
fedoraproject fedora 39 –
gnu glibc 2.33 –
redhat codeready linux builder eus 9.2 –
redhat codeready linux builder eus for power little endian 9.0_ppc64le –
redhat codeready linux builder eus for power little endian eus 9.2_ppc64le –
redhat codeready linux builder for arm64 9.0_aarch64 –
redhat codeready linux builder for arm64 eus 9.2_aarch64 –
redhat codeready linux builder for ibm z systems 9.0_s390x –
redhat codeready linux builder for ibm z systems eus 9.2_s390x –
redhat enterprise linux 7.0 –
redhat enterprise linux 8.0 –
redhat enterprise linux 9.0 –
redhat enterprise linux eus 8.8 –
redhat enterprise linux eus 9.2 –
redhat enterprise linux for arm 64 9.0_aarch64 –
redhat enterprise linux for arm 64 eus 9.2_aarch64 –
redhat enterprise linux for ibm z systems 8.0_s390x –
redhat enterprise linux for ibm z systems eus 8.8_s390x –
redhat enterprise linux for ibm z systems eus s390x 9.2 –
redhat enterprise linux for ibm z systems s390x 9.2 –
redhat enterprise linux for power little endian 8.0_ppc64le –
redhat enterprise linux for power little endian 9.2_ppc64le –
redhat enterprise linux for power little endian eus 8.8_ppc64le –
redhat enterprise linux for power little endian eus 9.2_ppc64le –
redhat enterprise linux server aus 9.2 –
redhat enterprise linux server for power little endian update services for sap solutions 9.2_ppc64le –
redhat enterprise linux tus 8.8 –
Tutte le 163 vulnerabilità di Gnu Glibc

Tipo di vulnerabilità

CWE-416 Uso di memoria dopo la liberazione (use after free)

Il prodotto usa o fa riferimento a un’area di memoria dopo averla liberata. Nel frattempo quell’area può essere stata assegnata ad altro: ogni operazione fatta con il vecchio puntatore agisce su dati che non le appartengono più.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria
Disponibilità Interruzione del servizio: arresto o riavvio
Riservatezza Leggere la memoria
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Scelta del linguaggio Choose a language that provides automatic memory management.
Sviluppo · Riduzione della superficie di attacco When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

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

Tutte le 9.637 CVE di tipo CWE-416, con andamento e prevenzione

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