Improper access control in libvirt - CVE-2019-10166
Published: August 2, 2019 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a local authenticated user to execute arbitrary code.
It was discovered that libvirtd, versions 4.x.x before 4.10.1 and 5.x.x before 5.4.1, would permit readonly clients to use the virDomainManagedSaveDefineXML() API, which would permit them to modify managed save state files. If a managed save had already been created by a privileged user, a local attacker could modify this file such that libvirtd would execute an arbitrary program when the domain was resumed.
Affected software
Gentoo Linux
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Enterprise Linux for x86_64
Opensuse
Fedora
libvirt (Alpine package)
redhat-release-virtualization-host (Red Hat package)
redhat-virtualization-host (Red Hat package)
libvirt (Red Hat package)
libvirt
Red Hat Virtualization Host
Red Hat Enterprise Linux Advanced Virtualization
How to mitigate CVE-2019-10166
redhat-release-virtualization-host (Red Hat package) - update to 4.3.4-1.el7ev
redhat-virtualization-host (Red Hat package) - update to 4.3.4-20190620.3.el7_6
libvirt (Red Hat package) - update to 4.5.0-10.el7_6.12
libvirt - addressed in versions 4.7.0-5.fc29, 5.1.0-9.fc30
External References
Related Security Bulletins
- Improper access control in libvirt libvirt
- OpenSUSE Linux update for libvirt
- OpenSUSE Linux update for libvirt
- Improper access control in libvirt (Alpine package)
- Gentoo update for libvirt
- Red Hat Enterprise Linux 7 update for libvirt
- Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 update for redhat-virtualization-host
- Red Hat Enterprise Linux 8 update for the virt:rhel module
- Red Hat Enterprise Linux 8 Advanced Virtualization update for the virt:8.0.0 module
- Fedora 30 update for libvirt
- Fedora 29 update for libvirt