# CVE-2021-3667: An improper locking issue was found in the virStoragePoolLookupByTargetPath API of libvirt.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.37%, higher than 72% of CVEs (2026-12-01)
- Published: 2022-03-02T00:00:00.000Z
- Modified: 2026-06-17T04:05:32.077Z
- Weaknesses: CWE-667
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libvirt: Fixedin - libvert v7.6.0-rc1 and above
- redhat libvirt: from 4.1.0 up to 7.5.0
- redhat enterprise_linux: 8.0
- netapp ontap_select_deploy_administration_utility: no versions given
- debian debian_linux: 10.0

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:N/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1986094> (issue-tracking, vendor-advisory)
- <https://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87> (patch)
- <https://gitlab.com/libvirt/libvirt/-/commit/447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220331-0005/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202210-06> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3667](https://www.cve.org/CVERecord?id=CVE-2021-3667), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2021-3667](https://nvd.nist.gov/vuln/detail/CVE-2021-3667), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3667 · Whole record: https://cve.day/CVE-2021-3667.json · Rebuilt by cve.day 2026-11-25T22:58:07.102Z
