Privilege escalation in Xen - CVE-2017-10920

 

Privilege escalation in Xen - CVE-2017-10920

Published: June 21, 2017 / Updated: July 28, 2020


Vulnerability identifier: #VU7151
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-10920
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to gain elevated privileges.

The weakness exists due to flaws in the mapping and unmapping of grant references. If a grant is mapped with both the GNTMAP_device_map and GNTMAP_host_map flags, but unmapped only with host_map, the device_map portion remains but the page reference counts are lowered as though it had been removed. This bug can be leveraged cause a page's reference counts and type counts to fall to zero while retaining writeable mappings to the page.

Affected software

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

How to mitigate CVE-2017-10920

Install update from vendor's website.

xen (Debian package) - addressed in versions 4.1.6.lts1-9, 4.4.1-9+deb8u10, 4.8.1-1+deb9u3
xen - addressed in versions 4.6.5-7.fc24, 4.7.2-7.fc25, 4.8.1-4.fc26

External References

Related Security Bulletins