CVE-2019-10167
libvirt: arbitrary command execution via virConnectGetDomainCapabilities API
Overview
Description
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-250, CWE-284, CWE-22, CWE-862
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 64 fixes
Oracle Linux 2 releases · 15 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | libvirt +31 | 5.0.0-9.el7 |
| 8 | netcf +2 | 0.2.8-10.module+el8.0.0.z+5234+5e9073e3 |
| 8 | seabios +2 | 1.11.1-3.module+el8.0.0.z+5234+5e9073e3 |
| 8 | libiscsi +2 | 1.18.0-6.module+el8.0.0.z+5234+5e9073e3 |
| 8 | libvirt-dbus | 1.2.0-2.module+el8.0.0.z+5234+5e9073e3 |
| 8 | hivex +4 | 1.3.15-6.module+el8.0.0.z+5234+5e9073e3 |
10 more rows
Red Hat 3 releases · 18 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | redhat-release-virtualization-host +1 | 0:4.3.4-1.el7ev | RHSA-2019:1699 |
| 7 | redhat-virtualization-host-image-update | 0:4.3.4-20190620.3.el7_6 | RHSA-2019:1699 |
| 7 | libvirt +30 | 0:4.5.0-10.el7_6.12 | RHSA-2019:1579 |
| 8 (virt:8.0.0) | netcf +2 | 0:0.2.8-10.module+el8.0.0.z+3438+2851622e | RHSA-2019:1762 |
| 8 (virt:8.0.0) | seabios +2 | 0:1.12.0-1.module+el8.0.0.z+3438+2851622e | RHSA-2019:1762 |
| 8 (virt:8.0.0) | libiscsi +2 | 0:1.18.0-6.module+el8.0.0.z+3438+2851622e | RHSA-2019:1762 |
29 more rows
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | libvirt | 5.5.0-r0 |
| 3.23 | libvirt | 5.5.0-r0 |
| 3.24 | libvirt | 5.5.0-r0 |
| edge | libvirt | 5.5.0-r0 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | libvirt | 5.0.0-4 |
| 12 | libvirt | 5.0.0-4 |
| 13 | libvirt | 5.0.0-4 |
| 14 | libvirt | 5.0.0-4 |
| 9 | libvirt | 3.0.0-4+deb9u4 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libvirt | 5.0.0-4 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libvirt +33 | 7.7.0-2.1 | openSUSE-SU-2024:11008-1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | libvirt | 4.0.0-1ubuntu8.12 |
| 18.04-ESM | libvirt | 4.0.0-1ubuntu8.12 |
References
- access.redhat.com https://access.redhat.com/libvirt-privesc-vulnerabilities
- access.redhat.com https://access.redhat.com/security/cve/CVE-2019-10167
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10167
- linux.oracle.com https://linux.oracle.com/cve/CVE-2019-10167.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2019-4714.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2019-10167
- rhn.redhat.com https://rhn.redhat.com/errata/RHSA-2019-1579.html
- security.gentoo.org https://security.gentoo.org/glsa/202003-18
- security.libvirt.org https://security.libvirt.org/2019/0006.html
- ubuntu.com https://ubuntu.com/security/notices/USN-4047-1
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.