CVE-2020-15567
An issue was discovered in Xen through 4.13.x, allowing Intel guest OS users to gain privileges or cause a denial of service because of non-atomic modification of a live EPT PTE. When mapping guest EPT (nested paging) tables, Xen would in some circumstances use a series of non-atomic bitfield writes. Depending on the compiler version and optimisation flags, Xen might expose a dangerous partially written PTE to the hardware, which an attacker might be able to race to exploit. A guest administrator or perhaps even an unprivileged guest user might be able to cause denial of service, data corruption, or privilege escalation. Only systems using Intel CPUs are vulnerable. Systems using AMD CPUs, and Arm systems, are not vulnerable. Only systems using nested paging (hap, aka nested paging, aka in this case Intel EPT) are vulnerable. Only HVM and PVH guests can exploit the vulnerability. The presence and scope of the vulnerability depends on the precise optimisations performed by the compiler used to build Xen. If the compiler generates (a) a single 64-bit write, or (b) a series of read-modify-write operations in the same order as the source code, the hypervisor is not vulnerable. For example, in one test build using GCC 8.3 with normal settings, the compiler generated multiple (unlocked) read-modify-write operations in source-code order, which did not constitute a vulnerability. We have not been able to survey compilers; consequently we cannot say which compiler(s) might produce vulnerable code (with which code-generation options). The source code clearly violates the C rules, and thus should be considered vulnerable.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xen | Fixed | 4.11.3+24-g14b62ab3e5-1ubuntu2.3 | UBUNTU-CVE-2020-15567 |
| Ubuntu 18.04 | xen | Fix pending | UBUNTU-CVE-2020-15567 | |
| Ubuntu 16.04 | xen | Fix pending | UBUNTU-CVE-2020-15567 | |
| Ubuntu 14.04 | xen | Fix pending | ||
| Debian 14 | xen | Fixed | 4.11.4+24-gddaaccbbab-1 | DEBIAN-CVE-2020-15567 |
| Debian 13 | xen | Fixed | 4.11.4+24-gddaaccbbab-1 | DEBIAN-CVE-2020-15567 |
| Debian 12 | xen | Fixed | 4.11.4+24-gddaaccbbab-1 | DEBIAN-CVE-2020-15567 |
| Red Hat Enterprise Linux 5 | kernel-xen | Not affected | ||
| Alpine Linux 3.24 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.23 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.22 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.21 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.20 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.19 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.18 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.17 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.16 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.15 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.14 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.13 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.12 | xen | Fixed | 4.13.1-r2 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.11 | xen | Fixed | 4.13.1-r2 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.10 | xen | Fixed | 4.12.3-r2 | ALPINE-CVE-2020-15567 |
| Alpine Linux 3.9 | xen | Fixed | 4.11.4-r0 | ALPINE-CVE-2020-15567 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2020/dsa-4723 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00024.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00031.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202007-02 (vendor-advisory)
References
- http://xenbits.xen.org/xsa/advisory-328.html
- http://www.openwall.com/lists/oss-security/2020/07/07/6
- https://www.debian.org/security/2020/dsa-4723
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00024.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VB3QJJZV23Z2IDYEMIHELWYSQBUEW6JP/
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00031.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MXESCOVI7AVRNC7HEAMFM7PMEO6D3AUH/
- https://security.gentoo.org/glsa/202007-02
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.