8.8
CWE
22 250 284
Advisory Published
CVE Published
Updated

CVE-2019-10168: Path Traversal

First published: Thu Jun 13 2019(Updated: )

The virConnectBaselineHypervisorCPU() and virConnectCompareHypervisorCPU() libvirt APIs, 4.x.x before 4.10.1 and 5.x.x before 5.4.1, accept an "emulator" 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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
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.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
ubuntu/libvirt<4.6.0-2ubuntu3.8
4.6.0-2ubuntu3.8
ubuntu/libvirt<5.0.0-1ubuntu2.4
5.0.0-1ubuntu2.4
redhat/libvirt<4.10.1
4.10.1
redhat/libvirt<5.4.1
5.4.1
debian/libvirt
5.0.0-4+deb10u1
5.0.0-4+deb10u2
7.0.0-3+deb11u2
9.0.0-4
10.0.0-2
10.2.0-1

Remedy

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.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2019-10168?

    CVE-2019-10168 is a vulnerability that affects the virConnectBaselineHypervisorCPU() and virConnectCompareHypervisorCPU() libvirt APIs.

  • What is the severity of CVE-2019-10168?

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

  • Which versions of libvirt are affected by CVE-2019-10168?

    Versions 4.x.x before 4.10.1 and 5.x.x before 5.4.1 of libvirt are affected by CVE-2019-10168.

  • How can I fix CVE-2019-10168?

    To fix CVE-2019-10168, update libvirt to version 4.10.1 or 5.4.1, depending on the version you are using.

  • Where can I find more information about CVE-2019-10168?

    You can find more information about CVE-2019-10168 at the following references: [1](https://access.redhat.com/libvirt-privesc-vulnerabilities), [2](https://libvirt.org/git/?p=libvirt.git;a=commit;h=bf6c2830b6c338b1f5699b095df36f374777b291), [3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1722466).

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203