Symlink Attack Affecting libvirt package, versions [1.0.1,1.2.1]


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (6th 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 IDSNYK-UNMANAGED-LIBVIRT-2317461
  • published14 Dec 2021
  • disclosed15 Apr 2014
  • creditUnknown

Introduced: 15 Apr 2014

CVE-2013-6456  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

There is no fixed version for libvirt.

Overview

Affected versions of this package are vulnerable to Symlink Attack. The LXC driver (lxc/lxc_driver.c) in libvirt 1.0.1 through 1.2.1 allows local users to (1) delete arbitrary host devices via the virDomainDeviceDettach API and a symlink attack on /dev in the container; (2) create arbitrary nodes (mknod) via the virDomainDeviceAttach API and a symlink attack on /dev in the container; and cause a denial of service (shutdown or reboot host OS) via the (3) virDomainShutdown or (4) virDomainReboot API and a symlink attack on /dev/initctl in the container, related to "paths under /proc/$PID/root" and the virInitctlSetRunLevel function.

References

CVSS Scores

version 3.1