CVE-2018-6764
libvirt: guest could inject executable code via libnss_dns.so loaded by libvirt_lxc before init
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · February 5, 2018
Updated · January 14, 2026
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 5CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
CWE-179 · Incorrect Behavior Order: Early Validation