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

CVE-2020-29569

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

Descrizione

An issue was discovered in the Linux kernel through 5.10.1, as used with Xen through 4.14.x. The Linux kernel PV block backend expects the kernel thread handler to reset ring->xenblkd to NULL when stopped. However, the handler may not have time to run if the frontend quickly toggles between the states connect and disconnect. As a consequence, the block backend may re-use a pointer after it was freed. A misbehaving guest can trigger a dom0 crash by continuously connecting / disconnecting a block frontend. Privilege escalation and information leaks cannot be ruled out. This only affects systems with a Linux blkback.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 9.0 –
debian debian linux 10.0 –
linux linux kernel >= 4.1.44 < 4.2 –
linux linux kernel >= 4.4.80 < 4.4.254 –
linux linux kernel >= 4.9.36 < 4.9.249 –
linux linux kernel >= 4.11.9 < 4.12 –
linux linux kernel >= 4.12 < 4.14.213 –
linux linux kernel >= 4.15 < 4.19.164 –
linux linux kernel >= 4.20 < 5.4.86 –
linux linux kernel >= 5.5 < 5.10.4 –
netapp hci compute node bios tutte –
netapp solidfire & hci management node tutte –
netapp solidfire & hci storage node tutte –
xen xen <= 4.14.1 –
Tutte le 24.085 vulnerabilità di Linux Kernel
Tutte le 530 vulnerabilità di Xen

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