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
| Id | Name |
|---|---|
| CWE-346 | Origin Validation Error |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.redhat.com/archives/libvir-list/2018-February/msg00239.html | Patch, Third Party Advisory |
| http://www.ubuntu.com/usn/USN-3576-1 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2018:3113 | Third Party Advisory |
| https://www.debian.org/security/2018/dsa-4137 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
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