Vulnerability · Published Jul 7, 2020 · Assigned by mitre

CVE-2020-15565

High 8.8

In plain English

A high-severity security flaw in the xen package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)8.8High
Exploit odds (30 days)0.4%top 69.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

An issue was discovered in Xen through 4.13.x, allowing x86 Intel HVM guest OS users to cause a host OS denial of service or possibly gain privileges because of insufficient cache write-back under VT-d. When page tables are shared between IOMMU and CPU, changes to them require flushing of both TLBs. Furthermore, IOMMUs may be non-coherent, and hence prior to flushing IOMMU TLBs, a CPU cache also needs writing back to memory after changes were made. Such writing back of cached data was missing in particular when splitting large page mappings into smaller granularity ones. A malicious guest may be able to retain read/write DMA access to frames returned to Xen's free pool, and later reused for another purpose. Host crashes (leading to a Denial of Service) and privilege escalation cannot be ruled out. Xen versions from at least 3.2 onwards are affected. Only x86 Intel systems are affected. x86 AMD as well as Arm systems are not affected. Only x86 HVM guests using hardware assisted paging (HAP), having a passed through PCI device assigned, and having page table sharing enabled can leverage the vulnerability. Note that page table sharing will be enabled (by default) only if Xen considers IOMMU and CPU large page size support compatible.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20xen4.13.1-r4ALPINE-CVE-2020-15565
Alpine:v3.21xen4.13.1-r4ALPINE-CVE-2020-15565
Alpine:v3.22xen4.13.1-r4ALPINE-CVE-2020-15565
Alpine:v3.23xen4.13.1-r4ALPINE-CVE-2020-15565
Alpine:v3.24xen4.13.1-r4ALPINE-CVE-2020-15565
Debian:12xen4.11.4+24-gddaaccbbab-1DEBIAN-CVE-2020-15565
Debian:13xen4.11.4+24-gddaaccbbab-1DEBIAN-CVE-2020-15565
Debian:14xen4.11.4+24-gddaaccbbab-1DEBIAN-CVE-2020-15565

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References