Race condition in Xen - CVE-2019-19580

 

Race condition in Xen - CVE-2019-19580

Published: July 28, 2020


Vulnerability identifier: #VU31977
CSH Severity: Low
CVSS v4: 5.2 [CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H]
CVE-ID: CVE-2019-19580
CWE-ID: CWE-362
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

An issue was discovered in Xen through 4.12.x allowing x86 PV guest OS users to gain host OS privileges by leveraging race conditions in pagetable promotion and demotion operations, because of an incomplete fix for CVE-2019-18421. XSA-299 addressed several critical issues in restartable PV type change operations. Despite extensive testing and auditing, some corner cases were missed. A malicious PV guest administrator may be able to escalate their privilege to that of the host. All security-supported versions of Xen are vulnerable. Only x86 systems are affected. Arm systems are not affected. Only x86 PV guests can leverage the vulnerability. x86 HVM and PVH guests cannot leverage the vulnerability. Note that these attacks require very precise timing, which may be difficult to exploit in practice.


Affected software

Xen
Gentoo Linux
Debian Linux
Opensuse
Fedora
xen (Alpine package)
xen (Debian package)
xen

How to mitigate CVE-2019-19580

Install updates from vendor's website.

xen (Alpine package) - update to 4.10.4-r2
xen (Debian package) - addressed in versions 4.8.5.final+shim4.10.4-1+deb9u12, 4.11.3+24-g14b62ab3e5-1~deb10u1
xen - addressed in versions 4.11.3-2.fc30, 4.12.1-8.fc31

External References

Related Security Bulletins