CVE-2021-3667Improper Locking in Redhat Libvirt

CWE-667Improper Locking9 documents8 sources
Severity
6.5MEDIUMNVD
OSV6.7
EPSS
0.4%
top 36.96%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 2
Latest updateMay 2

Description

An improper locking issue was found in the virStoragePoolLookupByTargetPath API of libvirt. It occurs in the storagePoolLookupByTargetPath function where a locked virStoragePoolObj object is not properly released on ACL permission failure. Clients connecting to the read-write socket with limited ACL permissions could use this flaw to acquire the lock and prevent other users from accessing storage pool/volume APIs, resulting in a denial of service condition. The highest threat from this vulnerabi

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages4 packages

Debianredhat/libvirt< 7.0.0-3+deb11u3+3
Ubunturedhat/libvirt< 4.0.0-1ubuntu8.21+1
NVDredhat/libvirt4.1.07.5.0
CVEListV5redhat/libvirtFixedin - libvert v7.6.0-rc1 and above

Also affects: Debian Linux 10.0, Enterprise Linux 8.0

Patches

🔴Vulnerability Details

4
OSV
libvirt vulnerabilities2022-05-02
GHSA
GHSA-q27q-h2jw-qq6c: An improper locking issue was found in the virStoragePoolLookupByTargetPath API of libvirt2022-03-04
OSV
CVE-2021-3667: An improper locking issue was found in the virStoragePoolLookupByTargetPath API of libvirt2022-03-02
CVEList
CVE-2021-3667: An improper locking issue was found in the virStoragePoolLookupByTargetPath API of libvirt2022-03-02

📋Vendor Advisories

4
Ubuntu
libvirt vulnerabilities2022-05-02
Microsoft
An improper locking issue was found in the virStoragePoolLookupByTargetPath API of libvirt. It occurs in the storagePoolLookupByTargetPath function where a locked virStoragePoolObj object is not prope2022-03-08
Red Hat
libvirt: Improper locking on ACL failure in virStoragePoolLookupByTargetPath API2021-07-21
Debian
CVE-2021-3667: libvirt - An improper locking issue was found in the virStoragePoolLookupByTargetPath API ...2021