SecurityContext

CVE-2018-6764: libvirt - Command Injection

  • Cve: CVE-2018-6764
  • Name: libvirt - Command Injection
  • 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.
  • Impact: Local attackers can bypass container protections and execute arbitrary commands, potentially leading to privilege escalation or system compromise.
  • Remediation: Update to the latest version of libvirt where this issue is fixed.
  • Vulnerability type: command_injection
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs local access to the guest OS
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00325
  • Epss percentile: 0.26058
  • Assignee: [email protected]
  • Published at: 2018-02-23T17:29:00Z
  • Age in days: 3196
  • Modified at: 2026-06-17T02:02:14Z
  • Patch available: yes
  • References total: 4
  • Products total: 7
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-6764
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-346Origin Validation Error

References

Same in every row:

  • Source: nvd
UrlTags
https://www.redhat.com/archives/libvir-list/2018-February/msg00239.htmlPatch, Third Party Advisory
http://www.ubuntu.com/usn/USN-3576-1Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3113Third Party Advisory
https://www.debian.org/security/2018/dsa-4137Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
redhat:libvirtall versions/v1/products/redhat/libvirt
debian:debian_linux= 9.0, = 8.0/v1/products/debian/debian_linux
canonical:ubuntu_linux= 17.10, = 16.04, = 14.04/v1/products/canonical/ubuntu_linux
redhat:enterprise_linux_desktop= 7.0/v1/products/redhat/enterprise_linux_desktop
redhat:enterprise_linux_server= 7.0/v1/products/redhat/enterprise_linux_server
redhat:enterprise_linux_workstation= 7.0/v1/products/redhat/enterprise_linux_workstation
redhat:virtualization= 4.0/v1/products/redhat/virtualization

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 21109361
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports