Vulnerabilities · 2019 · Xen
CVE-2019-19579
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 (and assignable-add is not used), because of an incomplete fix for CVE-2019-18424. XSA-302 relies on the use of libxl's "assignable-add" feature to prepare devices to be assigned to untrusted guests. Unfortunately, this is not considered a strictly required step for device assignment. The PCI passthrough documentation on the wiki describes alternate ways of preparing devices for assignment, and libvirt uses its own ways as well. Hosts where these "alternate" methods are used will still leave the system in a vulnerable state after the device comes back from a guest. 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, Fedora. 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-306.html · Vendor Advisory
- xenbits.xen.org/xsa/advisory-306.html · Vendor Advisory
- www.openwall.com/lists/oss-security/2019/12/05/7 · Third Party Advisory
- www.openwall.com/lists/oss-security/2019/11/26/2 · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00011.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R
- seclists.org/bugtraq/2020/Jan/21
- www.debian.org/security/2020/dsa-4602
- nvd.nist.gov/vuln/detail/CVE-2019-19579
- cve.org/CVERecord?id=CVE-2019-19579
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.