{"schema_version":"1.7.5","id":"CVE-2018-6764","published":"2018-02-23T17:29:00.473Z","modified":"2026-07-08T05:54:37.270086205Z","related":["SUSE-SU-2018:0861-1","SUSE-SU-2018:0920-1"],"details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libvirt/libvirt","events":[{"introduced":"5f6025945bf0f98debcd4ad8cf064e9cadca1cc9"},{"last_affected":"501563469e67ea54be4ec1b3b84d4f0405e90ea4"}],"database_specific":{"cpe":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"},{"introduced":"9.0"},{"last_affected":"9.0"},{"introduced":"4.0"},{"last_affected":"4.0"},{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"CPE_STRING"}}],"versions":["4.0","7.0","8.0","9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6764.json"}}],"references":[{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3576-1"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3113"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4137"},{"type":"FIX","url":"https://www.redhat.com/archives/libvir-list/2018-February/msg00239.html"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"14.04"},{"last_affected":"14.04"},{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"17.10"},{"last_affected":"17.10"}],"source":"CPE_STRING","vendor_product":"canonical:ubuntu_linux"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}