Skip to content
Fencer Intel
low 2.5

CVE-2015-5313 json

Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fin…

published 10y ago modified 4mo ago also EUVD-2015-5284

cvss
2.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 39%
public exploits
0
none known

Summary

Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fine-grained Access Control Lists (ACL) are in effect, allows local users with storage_vol:create ACL but not domain:write permission to write to arbitrary files via a .. (dot dot) in a volume name.

Patch / fix

  • libvirt Debian 14, Debian 13, Debian 12 1.3.0-1

debian advisories DEBIAN-CVE-2015-5313

  • libvirt Ubuntu 14.04 LTS 1.2.2-0ubuntu13.1.16

ubuntu advisories UBUNTU-CVE-2015-5313

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libvirt RHEL 7 2.0.0-10.el7
  • libvirt-nss RHEL 7 2.0.0-10.el7
  • libvirt-client RHEL 7 2.0.0-10.el7
  • libvirt-daemon RHEL 7 2.0.0-10.el7
  • libvirt-daemon-kvm RHEL 7 2.0.0-10.el7
  • libvirt-daemon-lxc storage 3.1, RHEL 7 2.0.0-10.el7
  • libvirt-login-shell storage 3.1, RHEL 7 2.0.0-10.el7
  • libvirt-lock-sanlock storage 3.1, RHEL 7 2.0.0-10.el7

red hat advisories RHSA-2016:2577

  • libvirt SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 +1 more 1.2.5-12.3
  • libvirt SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +2 more 1.2.18.2-8.1
  • libvirt SLES for SAP 12, SLES 12, SLED 12 +2 more 1.2.5-27.10.1

suse advisories SUSE-SU-2016:0931-1SUSE-SU-2016:0923-1SUSE-SU-2016:0304-1

  • libvirt openSUSE Tumbleweed 2.5.0-1.1

opensuse advisories openSUSE-SU-2024:10209-1

Is CVE-2015-5313 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-5313 updated cvss 4.9

libvirt: filesystem storage volume names path traversal flaw

  • Red Hat Enterprise Linux 5 libvirt Red Hat Enterprise Linux 6 libvirt, libvirt-client, libvirt-python, libvirt-lock-sanlock
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) libvirt 2.0.0-10.el7, libvirt-client 2.0.0-10.el7, libvirt-daemon 2.0.0-10.el7, libvirt-daemon-kvm 2.0.0-10.el7, libvirt-daemon-driver-lxc 2.0.0-10.el7, libvirt-daemon-driver-qemu 2.0.0-10.el7, +8 more Red Hat Enterprise Linux Client Optional (v. 7) libvirt-nss 2.0.0-10.el7, libvirt-daemon-lxc 2.0.0-10.el7, libvirt-login-shell 2.0.0-10.el7, libvirt-lock-sanlock 2.0.0-10.el7 Red Hat Enterprise Linux ComputeNode (v. 7) libvirt 2.0.0-10.el7, libvirt-client 2.0.0-10.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libvirt 2.0.0-10.el7, libvirt-nss 2.0.0-10.el7, libvirt-daemon 2.0.0-10.el7, libvirt-daemon-kvm 2.0.0-10.el7, libvirt-daemon-lxc 2.0.0-10.el7, libvirt-login-shell 2.0.0-10.el7, +11 more Red Hat Enterprise Linux Server (v. 7) libvirt 2.0.0-10.el7, libvirt-client 2.0.0-10.el7, libvirt-daemon 2.0.0-10.el7, libvirt-daemon-kvm 2.0.0-10.el7, libvirt-daemon-driver-lxc 2.0.0-10.el7, libvirt-daemon-driver-qemu 2.0.0-10.el7, +8 more Red Hat Enterprise Linux Server Optional (v. 7) libvirt-nss 2.0.0-10.el7, libvirt-daemon-kvm 2.0.0-10.el7, libvirt-daemon-lxc 2.0.0-10.el7, libvirt-login-shell 2.0.0-10.el7, libvirt-lock-sanlock 2.0.0-10.el7
    +4 more products
    Red Hat Enterprise Linux Workstation (v. 7) libvirt 2.0.0-10.el7, libvirt-client 2.0.0-10.el7, libvirt-daemon 2.0.0-10.el7, libvirt-daemon-kvm 2.0.0-10.el7, libvirt-daemon-driver-lxc 2.0.0-10.el7, libvirt-daemon-driver-qemu 2.0.0-10.el7, +8 more Red Hat Enterprise Linux Workstation Optional (v. 7) libvirt-nss 2.0.0-10.el7, libvirt-daemon-lxc 2.0.0-10.el7, libvirt-login-shell 2.0.0-10.el7, libvirt-lock-sanlock 2.0.0-10.el7 Red Hat Gluster Storage Server 3.1 on RHEL-7 libvirt-daemon-lxc 2.0.0-10.el7, libvirt-login-shell 2.0.0-10.el7, libvirt-lock-sanlock 2.0.0-10.el7 Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts libvirt 2.0.0-10.el7, libvirt-daemon-kvm 2.0.0-10.el7, libvirt-lock-sanlock 2.0.0-10.el7
    fixed: vendor fix RHSA-2016:2577

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.46% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 2.5 CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD 2.0 1.9 AV:L/AC:M/Au:N/C:N/I:P/A:N

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.