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

CVE-2020-25596

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

Descrizione

An issue was discovered in Xen through 4.14.x. x86 PV guest kernels can experience denial of service via SYSENTER. The SYSENTER instruction leaves various state sanitization activities to software. One of Xen's sanitization paths injects a #GP fault, and incorrectly delivers it twice to the guest. This causes the guest kernel to observe a kernel-privilege #GP fault (typically fatal) rather than a user-privilege #GP fault (usually converted into SIGSEGV/etc.). Malicious or buggy userspace can crash the guest kernel, resulting in a VM Denial of Service. All versions of Xen from 3.2 onwards are vulnerable. Only x86 systems are vulnerable. ARM platforms are not vulnerable. Only x86 systems that support the SYSENTER instruction in 64bit mode are vulnerable. This is believed to be Intel, Centaur, and Shanghai CPUs. AMD and Hygon CPUs are not believed to be vulnerable. Only x86 PV guests can exploit the vulnerability. x86 PVH / HVM guests cannot exploit the vulnerability.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 10.0 –
fedoraproject fedora 31 –
fedoraproject fedora 32 –
fedoraproject fedora 33 –
opensuse leap 15.2 –
xen xen >= 3.2.0 <= 4.14.0 –
Tutte le 527 vulnerabilità di Xen

Tipo di vulnerabilità

CWE-74 Injection: elementi speciali non neutralizzati in un output destinato a un altro componente

Il prodotto costruisce in tutto o in parte un comando, una struttura dati o un record con dati provenienti dall’esterno, senza neutralizzare gli elementi speciali che possono cambiare il modo in cui il componente successivo lo interpreta.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione
Controllo degli accessi Aggirare i meccanismi di protezione
In alcuni casi il codice iniettabile controlla l’autenticazione, il che può tradursi in una vulnerabilità sfruttabile da remoto.
Altro Alterare la logica di esecuzione
Integrità, Altro Altro
Non ripudio Nascondere le proprie attività
Spesso le azioni compiute dal codice iniettato non lasciano traccia nei log.

Come si previene

Requisiti Programming languages and supporting technologies might be chosen which are not subject to these issues.
Sviluppo Utilize an appropriate mix of allowlist and denylist parsing to filter control-plane syntax from all input.

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

Tutte le 4.104 CVE di tipo CWE-74, con andamento e prevenzione

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