Vulnerability · Published Apr 14, 2020 · Assigned by mitre

CVE-2020-11739

High 7.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.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.3%top 78.6% 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 guest OS users to cause a denial of service or possibly gain privileges because of missing memory barriers in read-write unlock paths. The read-write unlock paths don't contain a memory barrier. On Arm, this means a processor is allowed to re-order the memory access with the preceding ones. In other words, the unlock may be seen by another processor before all the memory accesses within the "critical" section. As a consequence, it may be possible to have a writer executing a critical section at the same time as readers or another writer. In other words, many of the assumptions (e.g., a variable cannot be modified after a check) in the critical sections are not safe anymore. The read-write locks are used in hypercalls (such as grant-table ones), so a malicious guest could exploit the race. For instance, there is a small window where Xen can leak memory if XENMAPSPACE_grant_table is used concurrently. A malicious guest may be able to leak memory, or cause a hypervisor crash resulting in a Denial of Service (DoS). Information leak and privilege escalation cannot be excluded.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20xen4.13.0-r3ALPINE-CVE-2020-11739
Alpine:v3.21xen4.13.0-r3ALPINE-CVE-2020-11739
Alpine:v3.22xen4.13.0-r3ALPINE-CVE-2020-11739
Alpine:v3.23xen4.13.0-r3ALPINE-CVE-2020-11739
Alpine:v3.24xen4.13.0-r3ALPINE-CVE-2020-11739
Debian:12xen4.11.4-1DEBIAN-CVE-2020-11739
Debian:13xen4.11.4-1DEBIAN-CVE-2020-11739
Debian:14xen4.11.4-1DEBIAN-CVE-2020-11739

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References