Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3667
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:19 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-3667
Complete source record
{
"id": "5aba5b55157a44983726ca20afbf1c600e1ade23d5026e929f1c7d54b08bbdf8",
"url": "https://osv.dev/vulnerability/CVE-2021-3667",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-3667",
"summary": "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.",
"evidence": "osv:CVE-2021-3667",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-3667",
"aliases": [
"CVE-2021-3667"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libvirt/libvirt",
"type": "GIT",
"events": [
{
"introduced": "6b59754bfda9477586a75af0c0b9ce1036c414e8"
},
{
"last_affected": "03eadc86fc5cdadbc4ab18123d820b6e4e321abd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:libvirt:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.1.0"
},
{
"last_affected": "7.5.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v7.5.0",
"CVE-2021-3631",
"v7.5.0-rc2",
"v7.5.0-rc1",
"v7.4.0",
"v7.4.0-rc2",
"v7.4.0-rc1",
"v7.3.0",
"v7.3.0-rc2",
"v7.3.0-rc1",
"v7.2.0",
"v7.2.0-rc2",
"v7.2.0-rc1",
"v7.1.0",
"v7.1.0-rc2",
"v7.1.0-rc1",
"v7.0.0",
"v7.0.0-rc2",
"v7.0.0-rc1",
"v6.10.0",
"v6.10.0-rc2",
"v6.10.0-rc1",
"v6.9.0",
"v6.9.0-rc2",
"v6.9.0-rc1",
"v6.8.0",
"CVE-2020-25637",
"v6.8.0-rc2",
"v6.8.0-rc1",
"v6.7.0",
"v6.7.0-rc2",
"v6.7.0-rc1",
"v6.6.0",
"CVE-2020-14339",
"v6.6.0-rc1",
"v6.5.0",
"v6.5.0-rc2",
"v6.5.0-rc1",
"v6.4.0",
"v6.4.0-rc1",
"v6.3.0",
"v6.3.0-rc1",
"CVE-2020-14301",
"v6.2.0",
"v6.2.0-rc1",
"CVE-2019-20485",
"v6.1.0",
"v6.1.0-rc2",
"v6.1.0-rc1",
"v6.0.0",
"v6.0.0-rc2",
"v6.0.0-rc1",
"CVE-2020-10703",
"CVE-2019-11135",
"v5.10.0",
"v5.10.0-rc2",
"v5.10.0-rc1",
"v5.9.0",
"v5.9.0-rc1",
"v5.8.0",
"v5.8.0-rc2",
"v5.8.0-rc1",
"v5.7.0",
"v5.7.0-rc2",
"v5.7.0-rc1",
"v5.6.0",
"v5.6.0-rc2",
"v5.6.0-rc1",
"v5.5.0",
"v5.5.0-rc2",
"v5.5.0-rc1",
"CVE-2019-10168",
"CVE-2019-10161",
"CVE-2019-10166",
"CVE-2019-10167",
"v5.4.0",
"v5.4.0-rc2",
"v5.4.0-rc1",
"v4.2.0",
"v4.3.0",
"v4.4.0",
"v4.6.0",
"v4.8.0",
"v4.9.0",
"v4.10.0",
"v5.0.0",
"v5.2.0",
"CVE-2019-10132",
"v5.3.0",
"v4.7.0",
"v5.3.0-rc2",
"v5.3.0-rc1",
"CVE-2019-3886",
"v5.2.0-rc2",
"v5.2.0-rc1",
"v5.1.0",
"v5.1.0-rc2",
"v5.1.0-rc1",
"v5.0.0-rc2",
"v5.0.0-rc1",
"CVE-2019-3840",
"v4.10.0-rc2",
"v4.10.0-rc1",
"v4.9.0-rc1",
"v4.8.0-rc2",
"v4.8.0-rc1",
"v4.7.0-rc2",
"v4.7.0-rc1",
"v4.6.0-rc2",
"v4.6.0-rc1",
"v4.5.0",
"CVE-2018-3639",
"v4.5.0-rc2",
"v4.5.0-rc1",
"v4.4.0-rc2",
"v4.4.0-rc1",
"v4.1.0",
"v4.3.0-rc2",
"v4.3.0-rc1",
"v4.2.0-rc2",
"v4.2.0-rc1",
"CVE-2018-1064"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3667.json"
}
},
{
"ranges": [
{
"repo": "https://gitlab.com/libvirt/libvirt",
"type": "GIT",
"events": [
{
"introduced": "6b59754bfda9477586a75af0c0b9ce1036c414e8"
},
{
"last_affected": "03eadc86fc5cdadbc4ab18123d820b6e4e321abd"
},
{
"fixed": "447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:libvirt:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.1.0"
},
{
"last_affected": "7.5.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v7.5.0",
"CVE-2021-3631",
"v7.5.0-rc2",
"v7.5.0-rc1",
"v7.4.0",
"v7.4.0-rc2",
"v7.4.0-rc1",
"v7.3.0",
"v7.3.0-rc2",
"v7.3.0-rc1",
"v7.2.0",
"v7.2.0-rc2",
"v7.2.0-rc1",
"v7.1.0",
"v7.1.0-rc2",
"v7.1.0-rc1",
"v7.0.0",
"v7.0.0-rc2",
"v7.0.0-rc1",
"v6.10.0",
"v6.10.0-rc2",
"v6.10.0-rc1",
"v6.9.0",
"v6.9.0-rc2",
"v6.9.0-rc1",
"v6.8.0",
"CVE-2020-25637",
"v6.8.0-rc2",
"v6.8.0-rc1",
"v6.7.0",
"v6.7.0-rc2",
"v6.7.0-rc1",
"v6.6.0",
"CVE-2020-14339",
"v6.6.0-rc1",
"v6.5.0",
"v6.5.0-rc2",
"v6.5.0-rc1",
"v6.4.0",
"v6.4.0-rc1",
"v6.3.0",
"v6.3.0-rc1",
"CVE-2020-14301",
"v6.2.0",
"v6.2.0-rc1",
"CVE-2019-20485",
"v6.1.0",
"v6.1.0-rc2",
"v6.1.0-rc1",
"v6.0.0",
"v6.0.0-rc2",
"v6.0.0-rc1",
"CVE-2020-10703",
"CVE-2019-11135",
"v5.10.0",
"v5.10.0-rc2",
"v5.10.0-rc1",
"v5.9.0",
"v5.9.0-rc1",
"v5.8.0",
"v5.8.0-rc2",
"v5.8.0-rc1",
"v5.7.0",
"v5.7.0-rc2",
"v5.7.0-rc1",
"v5.6.0",
"v5.6.0-rc2",
"v5.6.0-rc1",
"v5.5.0",
"v5.5.0-rc2",
"v5.5.0-rc1",
"CVE-2019-10168",
"CVE-2019-10161",
"CVE-2019-10166",
"CVE-2019-10167",
"v5.4.0",
"v5.4.0-rc2",
"v5.4.0-rc1",
"v4.2.0",
"v4.3.0",
"v4.4.0",
"v4.6.0",
"v4.8.0",
"v4.9.0",
"v4.10.0",
"v5.0.0",
"v5.2.0",
"CVE-2019-10132",
"v5.3.0",
"v4.7.0",
"v5.3.0-rc2",
"v5.3.0-rc1",
"CVE-2019-3886",
"v5.2.0-rc2",
"v5.2.0-rc1",
"v5.1.0",
"v5.1.0-rc2",
"v5.1.0-rc1",
"v5.0.0-rc2",
"v5.0.0-rc1",
"CVE-2019-3840",
"v4.10.0-rc2",
"v4.10.0-rc1",
"v4.9.0-rc1",
"v4.8.0-rc2",
"v4.8.0-rc1",
"v4.7.0-rc2",
"v4.7.0-rc1",
"v4.6.0-rc2",
"v4.6.0-rc1",
"v4.5.0",
"CVE-2018-3639",
"v4.5.0-rc2",
"v4.5.0-rc1",
"v4.4.0-rc2",
"v4.4.0-rc1",
"v4.1.0",
"v4.3.0-rc2",
"v4.3.0-rc1",
"v4.2.0-rc2",
"v4.2.0-rc1",
"CVE-2018-1064"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3667.json",
"vanir_signatures": [
{
"id": "CVE-2021-3667-57b6bb4d",
"digest": {
"length": 747,
"function_hash": "63369119804262480602584117246342452608"
},
"source": "https://gitlab.com/libvirt/libvirt@447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87",
"target": {
"file": "src/storage/storage_driver.c",
"function": "storagePoolLookupByTargetPath"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-3667-cd1a45ce",
"digest": {
"threshold": 0.9,
"line_hashes": [
"195877491387619479579158237720163764491",
"90682379184772759765846818989144802475",
"317837978998188109099395814412819850670",
"336804048009231029245701955274722411095",
"94913288173034920064177808702328388873"
]
},
"source": "https://gitlab.com/libvirt/libvirt@447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87",
"target": {
"file": "src/storage/storage_driver.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-24T14:12:12Z"
}
}
],
"modified": "2026-10-24T14:12:12.259918590Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html",
"https://security.gentoo.org/glsa/202210-06",
"https://security.netapp.com/advisory/ntap-20220331-0005/",
"https://bugzilla.redhat.com/show_bug.cgi?id=1986094",
"https://gitlab.com/libvirt/libvirt/-/commit/447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87",
"https://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:advanced_virtualization:*:*:*"
],
"vendor_product": "redhat:enterprise_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-3667",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 443360,
"published_at": "2022-03-02T23:15:08.843+00:00"
}