CVE-2019-10167: Path Traversal
Last updated 24 July 2024
Other sources
The virConnectGetDomainCapabilities() libvirt API accepts an "emulatorbin" argument to specify the program providing emulation for a domain. Since v1.2.19, libvirt will execute that program to probe the domain's capabilities. Read-only clients could specify an arbitrary path for this argument, causing libvirtd to execute a crafted executable with its own privileges.
— Red Hat
The virConnectGetDomainCapabilities() libvirt API, versions 4.x.x before 4.10.1 and 5.x.x before 5.4.1, accepts an "emulatorbin" argument to specify the program providing emulation for a domain. Since v1.2.19, libvirt will execute that program to probe the domain's capabilities. Read-only clients could specify an arbitrary path for this argument, causing libvirtd to execute a crafted executable with its own privileges.
Affected Software
Remediation
Information
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2019-10167?
CVE-2019-10167 is a vulnerability in the libvirt API that allows for privilege escalation.
How severe is CVE-2019-10167?
CVE-2019-10167 has a severity value of 8.8, which is considered high.
Which versions of libvirt are affected?
Versions 4.x.x before 4.10.1 and 5.x.x before 5.4.1 of libvirt are affected.
How can I fix CVE-2019-10167?
To fix CVE-2019-10167, update libvirt to version 4.10.1 or higher for 4.x.x series, or version 5.4.1 or higher for 5.x.x series.
Where can I find more information about CVE-2019-10167?
You can find more information about CVE-2019-10167 at the following sources: [Red Hat Advisory](https://access.redhat.com/libvirt-privesc-vulnerabilities), [libvirt Git commit](https://libvirt.org/git/?p=libvirt.git;a=commit;h=8afa68bac0cf99d1f8aaa6566685c43c22622f26), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1722464).