Improper Certificate Validation in libvirt - CVE-2017-1000256
Published: October 31, 2017 / Updated: July 28, 2020
Vulnerability identifier: #VU32062
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-1000256
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
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 failure to validate SSL/TLS certificates by default.
Affected software
libvirt
libvirt (Alpine package)
libvirt
Fedora
libvirt (Alpine package)
libvirt
Fedora
How to mitigate CVE-2017-1000256
Install update from vendor's website.
libvirt (Alpine package) - update to 2.5.0-r2
libvirt - addressed in versions 3.2.1-7.fc26, 3.7.0-3.fc27
libvirt - addressed in versions 3.2.1-7.fc26, 3.7.0-3.fc27