CVE-2019-10166: High severity redhat libvirt vulnerability

Published Jun 13, 2019
·
Updated

It was discovered that libvirtd 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.

This vulnerability was first present in libvirt v3.6.1.

Other sources

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

38 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
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0
alpine/libvirt>=5.0.0<5.5.0-r0
5.5.0-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libvirt to a version that resolves this vulnerability.

    Fixed in 0:4.5.0-10.el7_6.12
  2. Upgrade

    Upgrade redhat/redhat-release-virtualization-host to a version that resolves this vulnerability.

    Fixed in 0:4.3.4-1.el7e
  3. Upgrade

    Upgrade redhat/redhat-virtualization-host to a version that resolves this vulnerability.

    Fixed in 0:4.3.4-20190620.3.el7_6
  4. Upgrade

    Upgrade redhat/libvirt to a version that resolves this vulnerability.

    Fixed in 4.10.1
  5. Upgrade

    Upgrade redhat/libvirt to a version that resolves this vulnerability.

    Fixed in 5.4.1
  6. Upgrade

    Upgrade debian/libvirt to a version that resolves this vulnerability.

    Fixed in 7.0.0-3+deb11u3Fixed in 9.0.0-4+deb12u1Fixed in 10.7.0-3
  7. Upgrade

    Upgrade alpine/libvirt to a version that resolves this vulnerability.

    Fixed in 5.5.0-r0
  8. Upgrade

    Upgrade libvirt to a version that resolves this vulnerability.

    Fixed in 4.10.1
  9. Upgrade

    Upgrade libvirt to a version that resolves this vulnerability.

    Fixed in 5.4.1
  10. Configuration

    Edit /etc/libvirt/libvirtd.conf to set unix_sock_group = libvirt and unix_sock_ro_perms = 0770, restricting read-only socket access to members of the libvirt group.

    libvirtd unix_sock_group and unix_sock_ro_perms = libvirt and 0770

Event History

Jun 20, 2019
CVE Published
12:00 PM
Aug 2, 2019
CVE Published
via MITRE·12:02 PM
Data Sourced
via MITRE·12:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·01:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2019-10166.

2

What is the severity of CVE-2019-10166?

CVE-2019-10166 has a high severity rating.

3

What is the affected software?

The affected software is libvirtd versions 4.x.x before 4.10.1 and 5.x.x before 5.4.1.

4

How can the vulnerability be fixed?

To fix the vulnerability, update libvirtd to version 4.10.1 or newer.

5

Where can I find more information about CVE-2019-10166?

You can find more information about CVE-2019-10166 at the following references: [1] [2] [3].

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