Improper input validation in Xen
CVE-2019-19579
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 39.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Xen
- Fedoraproject Fedora — versions 30
Weakness classification (CWE)
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/11/26/2 (Mailing List, Third Party Advisory)
- [oss-security] 20191205 Xen Security Advisory 306 v3 (CVE-2019-19579) - Device quarantine for alternate pci assignment methods (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2019-3d7105bd2a (vendor-advisory)
- openSUSE-SU-2020:0011 (vendor-advisory)
- DSA-4602 (vendor-advisory)
- 20200114 [SECURITY] [DSA 4602-1] xen security update (mailing-list)