GLSA-201612-10 : libvirt: Directory traversal

Low Nessus Plugin ID 95525


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201612-10 (libvirt: Directory traversal)

Normally, only privileged users can coerce libvirt into creating or opening existing files using the virStorageVol APIs; and such users already have full privilege to create any domain XML.
But in the case of fine-grained ACLs, it is feasible that a user can be granted storage_vol:create but not domain:write, and it violates assumptions if such a user can abuse libvirt to access files outside of the storage pool.
Impact :

When fine-grained Access Control Lists (ACL) are in effect, an authenticated local user with storage_vol:create permission but without domain:write permission maybe able to create or access arbitrary files outside of the storage pool.
Workaround :

Don’t make use of fine-grained Access Control Lists (ACL) in libvirt;
In Gentoo, libvirt’s ACL support is disable by default unless you enable the “policykit” USE flag.


All libvirt users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-emulation/libvirt-1.2.21-r1'

See Also

Plugin Details

Severity: Low

ID: 95525

File Name: gentoo_GLSA-201612-10.nasl

Version: $Revision: 3.1 $

Type: local

Published: 2016/12/05

Modified: 2016/12/05

Dependencies: 12634

Risk Information

Risk Factor: Low


Base Score: 1.9

Vector: CVSS2#AV:L/AC:M/Au:N/C:N/I:P/A:N


Base Score: 2.5

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libvirt, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2016/12/04

Reference Information

CVE: CVE-2015-5313

GLSA: 201612-10