CVE-2019-10167: Path Traversal

Published Jun 13, 2019
·
Updated

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

20 affected componentsFixes available
redhat/libvirt<0:4.5.0-10.el7_6.12
0:4.5.0-10.el7_6.12
redhat/redhat-release-virtualization-host<0:4.3.4-1.el7e
0:4.3.4-1.el7e
redhat/redhat-virtualization-host<0:4.3.4-20190620.3.el7_6
0:4.3.4-20190620.3.el7_6
redhat/libvirt<4.10.1
4.10.1
redhat/libvirt<5.4.1
5.4.1
debian/libvirt
7.0.0-3+deb11u39.0.0-4+deb12u110.7.0-3
redhat libvirt>=4.0.0<4.10.1
redhat libvirt>=5.0.0<5.4.1
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
redhat Virtualization=4.3

Remediation

Information

The Unix permissions of libvirt's read-only socket can be made more restrictive than the default (0777) by editing `/etc/libvirt/libvirtd.conf`. The settings `unix_sock_group = libvirt` and `unix_sock_ro_perms = 0770` will restrict access to only members of `libvirt`, who already have management access to virtual machines.

Event History

Jun 20, 2019
CVE Published
12:00 PM
Aug 2, 2019
CVE Published
via MITRE·12:05 PM
Data Sourced
via MITRE·12:05 PM
DescriptionSeverityWeakness
Jan 11, 2024
Data Sourced
via Launchpad·11:12 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:19 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-10167?

CVE-2019-10167 is a vulnerability in the libvirt API that allows for privilege escalation.

2

How severe is CVE-2019-10167?

CVE-2019-10167 has a severity value of 8.8, which is considered high.

3

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.

4

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.

5

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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203