1. Archivio CVE
  2. 2020
  3. CVE-2020-10690

CVE-2020-10690

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

Descrizione

There is a use-after-free in kernel versions before 5.5 due to a race condition between the release of ptp_clock and cdev while resource deallocation. When a (high privileged) process allocates a ptp device file (like /dev/ptpX) and voluntarily goes to sleep. During this time if the underlying device is removed, it can cause an exploitable condition as the process wakes up to terminate and clean all attached files. The system crashes due to the cdev structure being invalid (as already freed) which is pointed to by the inode.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
canonical ubuntu linux 14.04 –
canonical ubuntu linux 16.04 –
debian debian linux 8.0 –
linux linux kernel < 5.5 –
netapp active iq unified manager tutte vmware_vsphere
netapp element software tutte –
netapp h300e firmware tutte –
netapp h300s firmware tutte –
netapp h410c firmware tutte –
netapp h410s firmware tutte –
netapp h500e firmware tutte –
netapp h500s firmware tutte –
netapp h610c firmware tutte –
netapp h610s firmware tutte –
netapp h615c firmware tutte –
netapp h700e firmware tutte –
netapp h700s firmware tutte –
netapp hci compute node tutte –
netapp hci management node tutte –
netapp solidfire tutte –
netapp steelstore cloud integrated storage tutte –
opensuse leap 15.1 –
redhat enterprise linux 7.0 –
redhat enterprise linux 8.0 –
Tutte le 2.752 vulnerabilità di Redhat Enterprise Linux

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.633 CVE di tipo CWE-416, con andamento e prevenzione

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