Input validation error in Xen - CVE-2019-19577

 

Input validation error in Xen - CVE-2019-19577

Published: July 28, 2020


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

Vulnerability details

The vulnerability allows a remote user to perform a denial of service (DoS) attack.

An issue was discovered in Xen through 4.12.x allowing x86 AMD HVM guest OS users to cause a denial of service or possibly gain privileges by triggering data-structure access during pagetable-height updates. When running on AMD systems with an IOMMU, Xen attempted to dynamically adapt the number of levels of pagetables (the pagetable height) in the IOMMU according to the guest's address space size. The code to select and update the height had several bugs. Notably, the update was done without taking a lock which is necessary for safe operation. A malicious guest administrator can cause Xen to access data structures while they are being modified, causing Xen to crash.


Affected software

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

How to mitigate CVE-2019-19577

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