CVE-2021-3667
Vulnerability Summary
Timeline
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 vulnerability is to system availability.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- v2.0•LOW•Score: 3.5AV:N/AC:M/Au:S/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 1.37%• Percentile: 71%
Techniques & Countermeasures
- CWE-667•Improper Locking
The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.
Affected Systems
- debian•libvirt
< 7.0.0-3+deb11u3 | < 7.6.0-1 | < 7.6.0-1 | < 7.6.0-1
- debian•debian_linux
10.0
- netapp•ontap_select_deploy_administration_utility
na
- redhat•enterprise_linux
8.0
- redhat•libvirt
≥ 4.1.0, ≤ 7.5.0
References (7)
- https://bugzilla.redhat.com/show_bug.cgi?id=1986094
- https://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87
- https://gitlab.com/libvirt/libvirt/-/commit/447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87
- https://security.netapp.com/advisory/ntap-20220331-0005/
- https://security.gentoo.org/glsa/202210-06
- https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html
- https://security-tracker.debian.org/tracker/CVE-2021-3667