#VU62734 Improper locking in libvirt - CVE-2021-3667

 

#VU62734 Improper locking in libvirt - CVE-2021-3667

Published: May 3, 2022


Vulnerability identifier: #VU62734
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-3667
CWE-ID: CWE-667
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
libvirt
Software vendor:
libvirt.org

Description

The vulnerability allows a local user to perform a denial of service attack (DoS) on the target system.

The vulnerability exists due to double-locking error in the virStoragePoolLookupByTargetPath API in libvirt in storage/storage_driver.c. The storagePoolLookupByTargetPath() function does not properly release a locked object (virStoragePoolObj) on ACL permission failure. Clients connecting to the read-write socket with limited ACL permissions can use this vulnerability to acquire the lock and prevent other users from accessing storage pool/volume APIs. As a result a local user can perform a denial of service (DoS) attack.


Remediation

Install updates from vendor's website.

External links