CVE-2021-3667: Medium severity red hat libvirt-daemon-driver-storage-iscsi-direct vulnerability
A flaw was found in the libvirt virStoragePoolLookupByTargetPath API. 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 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.
Upstream fix: https://libvirt.org/git/?p=libvirt.git;a=commit;h=447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87
Other sources
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.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2021-3667?
CVE-2021-3667 is an improper locking issue found in the virStoragePoolLookupByTargetPath API of libvirt.
What is the severity of CVE-2021-3667?
The severity of CVE-2021-3667 is medium with a CVSS score of 6.5.
Which software versions are affected by CVE-2021-3667?
The affected software versions include libvirt 6.0.0-0ubuntu8.16, libvirt 7.6.0-0ubuntu3, libvirt 7.6.0-1, libvirt 9.0.0-4, libvirt 9.8.0-2, Redhat Libvirt 7.5.0, Redhat Enterprise Linux 8.0, and NetApp ONTAP Select Deploy administration utility.
How can I fix the vulnerability in libvirt?
To fix the vulnerability in libvirt, update to the recommended versions provided for your operating system or package.
Where can I find more information about CVE-2021-3667?
More information about CVE-2021-3667 can be found at the following references: [Bugzilla Red Hat](https://bugzilla.redhat.com/show_bug.cgi?id=1986094), [GitLab Commit](https://gitlab.com/libvirt/libvirt/-/commit/447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87), [Gentoo GLSA](https://security.gentoo.org/glsa/202210-06).