Vulnerabilities · 2019 · Xen
CVE-2019-18424
Xen vulnerability
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.
Affected products
Xen, Debian Linux, Fedora, Leap. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Xen runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- xenbits.xen.org/xsa/advisory-302.html · Mitigation
- www.openwall.com/lists/oss-security/2019/10/31/6 · Mitigation
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00037.html · Third Party Advisory
- seclists.org/bugtraq/2020/Jan/21 · Third Party Advisory
- security.gentoo.org/glsa/202003-56 · Third Party Advisory
- www.debian.org/security/2020/dsa-4602 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I
- nvd.nist.gov/vuln/detail/CVE-2019-18424
- cve.org/CVERecord?id=CVE-2019-18424
More vulnerabilities in Xen products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.