CVE-2018-6764: util/virlog.c in libvirt does not properly determine the hostname on LXC container startup, which allows local guest OS users to bypass an…
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.32% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: libvirt (Debian:12) 4.0.0-2; libvirt (Red Hat:enterprise_linux:7::client) 0:4.5.0-10.el7; libvirt-admin (Red Hat:enterprise_linux:7::client) 0:4.5.0-10.el7.
Low priority for now. Upgrade to libvirt (Debian:12) 4.0.0-2; libvirt (Red Hat:enterprise_linux:7::client) 0:4.5.0-10.el7; libvirt-admin (Red Hat:enterprise_linux:7::client) 0:4.5.0-10.el7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Feb 23, 2018
- Updated
- Jun 16, 2026
- EPSS
- 0.3% · 25th percentile
- CWE
- CWE-346
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| redhat | libvirt | cpe:2.3:a:redhat:libvirt |
| redhat | virtualization | cpe:2.3:a:redhat:virtualization |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux17.10
- debian debian linux8.0
- debian debian linux9.0
- redhat enterprise linux desktop7.0
- redhat enterprise linux server7.0
- redhat enterprise linux workstation7.0
- redhat libvirtall versions
- redhat virtualization4.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libvirt | before 4.0.0-2 | 4.0.0-2 |
| Red Hat:enterprise_linux:7::client | libvirt | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-admin | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-bash-completion | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-client | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-config-network | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-config-nwfilter | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-interface | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-lxc | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-network | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-nodedev | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-nwfilter | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-qemu | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-secret | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-storage | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-storage-core | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-storage-disk | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-storage-gluster | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-storage-iscsi | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-storage-logical | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-storage-mpath | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-storage-rbd | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
| Red Hat:enterprise_linux:7::client | libvirt-daemon-driver-storage-scsi | before 0:4.5.0-10.el7 | 0:4.5.0-10.el7 |
+12
Same product
redhat: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-5008libvirt before 2.0.0 improperly disables password checking when the password on a VNC server is set to an empty string, which allows remote…40Plan
- CVE-2020-14339A flaw was found in libvirt, where it leaked a file descriptor for `/dev/mapper/control` into the QEMU process.35Monitor
- CVE-2019-10132A vulnerability was found in libvirt >= 4.1.0 in the virtlockd-admin.socket and virtlogd-admin.socket systemd units.35Monitor
Published before and after this one in the same product
- ← EarlierCVE-2017-1000256Oct 31, 2017 · libvirt version 2.3.0 and later is vulnerable to a bad default configuration of "verify-peer=no" passed to QEMU by libvirt resulting in a…33Monitor
- ← EarlierCVE-2018-5748Jan 25, 2018 · qemu/qemu_monitor.c in libvirt allows attackers to cause a denial of service (memory consumption) via a large QEMU reply.31Monitor
- Later →CVE-2017-2635Aug 22, 2018 · A NULL pointer deference flaw was found in the way libvirt from 2.5.0 to 3.0.0 handled empty drives.26Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libvirt | 4.0.0-2 · Debian:12 | Package registry (OSV) |
| red hat:libvirt | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libvirt-bash-completion | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libvirt-client | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libvirt-daemon | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libvirt-daemon-config-network | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libvirt-daemon-config-nwfilter | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libvirt-daemon-driver-interface | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libvirt-daemon-driver-lxc | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libvirt-daemon-driver-network | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libvirt-daemon-driver-nodedev | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libvirt-daemon-driver-nwfilter | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libvirt-daemon-driver-qemu | 0:4.5.0-10.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:libvirt | 2.0.0-27.34.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:virt-manager | 1.4.1-5.8.1 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-346 · Origin Validation ErrorCVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- JSON Hijacking (aka JavaScript Hijacking)CAPEC-111likelihood: High · High
- Cache PoisoningCAPEC-141likelihood: High · High
- DNS Cache PoisoningCAPEC-142likelihood: High · High
- Exploit Script-Based APIsCAPEC-160Medium
- Exploitation of Trusted IdentifiersCAPEC-21likelihood: High · High
- Application API Message Manipulation via Man-in-the-MiddleCAPEC-384Low
- Transaction or Event Tampering via Application API ManipulationCAPEC-385Medium
- Application API Navigation RemappingCAPEC-386Medium
ATT&CK techniques
- Access Token ManipulationT1134
- Access Token Manipulation:Token Impersonation/TheftT1134.001
- Steal Application Access TokenT1528
- Steal Web Session CookieT1539
- Use Alternate Authentication Material:Web Session CookieT1550.004
- Adversary-in-the-Middle: ARP Cache PoisoningT1557.002
- Compromise Infrastructure: DNS ServerT1584.002
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.