CVE-2018-6764

HIGH

libvirt - Arbitrary Command Execution via Crafted NSS Module

Title source: llm
STIX 2.1

Description

util/virlog.c in libvirt does not properly determine the hostname on LXC container startup, which allows local guest OS users to bypass an intended container protection mechanism and execute arbitrary commands via a crafted NSS module.

References (4)

Core 4
Core References
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2018/dsa-4137
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:3113
Patch, Third Party Advisory mailing-list x_refsource_mlist
https://www.redhat.com/archives/libvir-list/2018-February/msg00239.html
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-3576-1

Scores

CVSS v3 7.8
EPSS 0.0034
EPSS Percentile 25.3%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-346
Status published
Products (10)
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 17.10
debian/debian_linux 8.0
debian/debian_linux 9.0
redhat/enterprise_linux_desktop 7.0
redhat/enterprise_linux_server 7.0
redhat/enterprise_linux_workstation 7.0
redhat/libvirt
redhat/virtualization 4.0
Published Feb 23, 2018
Tracked Since Feb 18, 2026