CVE-2019-10168

libvirt: arbitrary command execution via virConnectBaselineHypervisorCPU and virConnectCompareHypervisorCPU APIs

Published Aug 2, 2019 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2019-2201 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.
Ubuntu USN Ubuntu USN USN-4047-1 libvirt vulnerabilities
History

No history.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-250

    Execution with Unnecessary Privileges

  • CWE-284

    Improper Access Control

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 4, 2024, 10:10 PM
Reserved
Mar 27, 2019, 12:00 AM
Status
Modified
Published
Aug 2, 2019, 1:15 PM
Modified
Jun 17, 2026, 2:10 AM
Severity
Important
Public date
Jun 20, 2019, 12:00 PM