CVE-2021-3667: An improper locking issue was found in the virStoragePoolLookupByTargetPath API of libvirt.
Noroxi assessment
Priority: Monitor (action score 26/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.3% (FIRST EPSS); higher than 71.8% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: hivex (AlmaLinux:8) 1.3.18-21.module_el8.5.0+2608+72063365; hivex-devel (AlmaLinux:8) 1.3.18-21.module_el8.5.0+2608+72063365; libguestfs (AlmaLinux:8) 1:1.40.2-28.module_el8.5.0+2608+72063365.alma.
Low priority for now. Upgrade to hivex (AlmaLinux:8) 1.3.18-21.module_el8.5.0+2608+72063365; hivex-devel (AlmaLinux:8) 1.3.18-21.module_el8.5.0+2608+72063365; libguestfs (AlmaLinux:8) 1:1.40.2-28.module_el8.5.0+2608+72063365.alma or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Mar 2, 2022
- Updated
- Jun 17, 2026
- EPSS
- 1.3% · 71th percentile
- CWE
- CWE-667
Report tools
Action score
26
Monitor
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| redhat | libvirt | cpe:2.3:a:redhat:libvirt |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| netapp | ontap select deploy administration utility | cpe:2.3:a:netapp:ontap_select_deploy_administration_utility |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- netapp ontap select deploy administration utilityall versions
- redhat enterprise linux8.0
- redhat libvirt4.1.0 and later · up to 7.5.0 inclusive
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a libvirt
- Fixedin - libvert v7.6.0-rc1 and aboveaffected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | hivex | before 1.3.18-21.module_el8.5.0+2608+72063365 | 1.3.18-21.module_el8.5.0+2608+72063365 |
| AlmaLinux:8 | hivex-devel | before 1.3.18-21.module_el8.5.0+2608+72063365 | 1.3.18-21.module_el8.5.0+2608+72063365 |
| AlmaLinux:8 | libguestfs | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-bash-completion | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-benchmarking | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-devel | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-gfs2 | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-gobject | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-gobject-devel | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-inspect-icons | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-java | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-java-devel | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-javadoc | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-man-pages-ja | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-man-pages-uk | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-rescue | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-rsync | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-tools | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-tools-c | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-winsupport | before 8.2-1.module_el8.5.0+2608+72063365 | 8.2-1.module_el8.5.0+2608+72063365 |
| AlmaLinux:8 | libguestfs-xfs | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libiscsi | before 1.18.0-8.module_el8.5.0+2608+72063365 | 1.18.0-8.module_el8.5.0+2608+72063365 |
| AlmaLinux:8 | libiscsi | before 1.18.0-8.module_el8.6.0+2880+7d9e3703 | 1.18.0-8.module_el8.6.0+2880+7d9e3703 |
| AlmaLinux:8 | libiscsi-devel | before 1.18.0-8.module_el8.5.0+2608+72063365 | 1.18.0-8.module_el8.5.0+2608+72063365 |
+96
Same product
redhat: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-5008libvirt before 2.0.0 improperly disables password checking when the password on a VNC server is set to an empty string, which allows remote 40Plan
- CVE-2020-14339A flaw was found in libvirt, where it leaked a file descriptor for `/dev/mapper/control` into the QEMU process.35Monitor
- CVE-2019-10132A vulnerability was found in libvirt >= 4.1.0 in the virtlockd-admin.socket and virtlogd-admin.socket systemd units.35Monitor
Published before and after this one in the same product
- ← EarlierCVE-2020-14301May 27, 2021 · An information disclosure vulnerability was found in libvirt in versions before 6.3.0.26Monitor
- ← EarlierCVE-2021-3631Mar 2, 2022 · A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels.25Monitor
- Later →CVE-2021-4147Mar 25, 2022 · A flaw was found in the libvirt libxl driver.26Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:hivex | 1.3.18-21.module_el8.5.0+2608+72063365 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:hivex-devel | 1.3.18-21.module_el8.5.0+2608+72063365 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-bash-completion | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-benchmarking | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-devel | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-gfs2 | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-gobject | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-gobject-devel | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-inspect-icons | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-java | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-java-devel | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| debian:libvirt | 7.6.0-1 · Debian:12 | Package registry (OSV) |
| opensuse:libvirt | 6.0.0-lp152.9.15.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:hivex | 0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:hivex-debuginfo | 0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:hivex-debugsource | 0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:hivex-devel | 0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-bash-completion | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-debuginfo | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-debugsource | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-devel | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-gfs2 | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-gobject | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:SLOF | 0:20200717-1.gite18ddad8.module+el8.4.0+8855+a9e237a9 · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| rocky linux:hivex | 0:1.3.18-21.module+el8.4.0+642+7e26f5e1 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:libguestfs | 1:1.40.2-28.module+el8.5.0+670+c4aa478c · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:libguestfs-winsupport | 0:8.2-1.module+el8.4.0+534+4680a14e · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:libiscsi | 0:1.18.0-8.module+el8.7.0+1084+97b81f61 · Rocky Linux:8 | Package registry (OSV) |
+9
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-667 · Improper LockingCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- gitlab.com/libvirt/libvirt/-/commit/447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87
- libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87
- lists.debian.org/debian-lts-announce/2024/04/msg00000.html
- security.gentoo.org/glsa/202210-06
- security.netapp.com/advisory/ntap-20220331-0005/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.