Directory Traversal Affecting libvirt package, versions [,4.10.1)[5.0.0,5.4.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UNMANAGED-LIBVIRT-2317456
  • published14 Dec 2021
  • disclosed30 Jul 2019
  • creditUnknown

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 libvirt to version 4.10.1, 5.4.1 or higher.

Overview

Affected versions of this package are vulnerable to Directory Traversal. 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.

References

CVSS Scores

version 3.1