First published: Thu Oct 31 2019(Updated: )
An issue was discovered in Xen through 4.12.x allowing attackers to gain host OS privileges via DMA in a situation where an untrusted domain has access to a physical device. This occurs because passed through PCI devices may corrupt host memory after deassignment. When a PCI device is assigned to an untrusted domain, it is possible for that domain to program the device to DMA to an arbitrary address. The IOMMU is used to protect the host from malicious DMA by making sure that the device addresses can only target memory assigned to the guest. However, when the guest domain is torn down, or the device is deassigned, the device is assigned back to dom0, thus allowing any in-flight DMA to potentially target critical host data. An untrusted domain with access to a physical device can DMA into host memory, leading to privilege escalation. Only systems where guests are given direct access to physical devices capable of DMA (PCI pass-through) are vulnerable. Systems which do not use PCI pass-through are not vulnerable.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
debian/xen | 4.11.4+107-gef32c7afa2-1 4.14.6-1 4.14.5+94-ge49571868d-1 4.17.2+76-ge1f9cb16e2-1~deb12u1 4.17.2+76-ge1f9cb16e2-1 | |
Xen XAPI | <=4.12.1 | |
Debian | =9.0 | |
Debian | =10.0 | |
Fedora | =29 | |
Fedora | =30 | |
Fedora | =31 | |
SUSE Linux | =15.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-18424 has been classified with a high severity due to the potential for attackers to gain host OS privileges.
To fix CVE-2019-18424, upgrade to a version of Xen released after 4.12.1 or apply relevant patches provided by your distribution.
CVE-2019-18424 affects various versions of Xen, Debian, Fedora, and openSUSE systems that utilize certain versions of the Xen hypervisor.
CVE-2019-18424 is caused by improper handling of passed-through PCI devices that may corrupt host memory when deassigned.
Yes, untrusted domains can exploit CVE-2019-18424 to gain elevated privileges on the host OS by accessing physical devices.