Directory Traversal Affecting libvirt-daemon-driver-qemu package, versions <0:4.5.0-10.amzn2.12.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-LIBVIRTDAEMONDRIVERQEMU-1673120
  • published27 Sept 2021
  • disclosed2 Aug 2019

Introduced: 2 Aug 2019

CVE-2019-10167  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libvirt-daemon-driver-qemu to version 0:4.5.0-10.amzn2.12.1 or higher.
This issue was patched in ALAS2-2019-1274.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libvirt-daemon-driver-qemu package and not the libvirt-daemon-driver-qemu package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Scores

version 3.1