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.07% (35th 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-1672972
  • published27 Sept 2021
  • disclosed30 Jul 2019

Introduced: 30 Jul 2019

CVE-2019-10161  (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.

It was discovered that libvirtd before versions 4.10.1 and 5.4.1 would permit read-only clients to use the virDomainSaveImageGetXMLDesc() API, specifying an arbitrary path which would be accessed with the permissions of the libvirtd process. An attacker with access to the libvirtd socket could use this to probe the existence of arbitrary files, cause denial of service or cause libvirtd to execute arbitrary programs.

CVSS Scores

version 3.1