CVE-2021-3667 Denial of service in libvirt
A locking flaw in libvirt allows limited-privilege clients to cause a denial of service by preventing access to storage pool APIs.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3667?
CVE-2021-3667 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 2 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-667
Which versions are affected by CVE-2021-3667?
It affects 4 products.
Linux distribution packages (13)
libvirt SUSE:Enterprise Storage 6 | All versions | 5.1.0-8.29.1 |
libvirt SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 5.1.0-8.29.1 |
libvirt SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 5.1.0-8.29.1 |
libvirt SUSE:Linux Enterprise Micro 5.0 | All versions | 6.0.0-13.21.1 |
libvirt SUSE:Linux Enterprise Module for Basesystem 15 SP2 | All versions | 6.0.0-13.21.1 |
libvirt SUSE:Linux Enterprise Module for Server Applications 15 SP2 | All versions | 6.0.0-13.21.1 |
libvirt SUSE:Linux Enterprise Server 12 SP5 | All versions | 5.1.0-13.25.1 |
libvirt SUSE:Linux Enterprise Server 15 SP1-BCL | All versions | 5.1.0-8.29.1 |
libvirt SUSE:Linux Enterprise Server 15 SP1-LTSS | All versions | 5.1.0-8.29.1 |
libvirt SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 5.1.0-13.25.1 |
libvirt SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | All versions | 5.1.0-8.29.1 |
libvirt SUSE:Linux Enterprise Software Development Kit 12 SP5 | All versions | 5.1.0-13.25.1 |
libvirt openSUSE:Leap 15.2 | All versions | 6.0.0-lp152.9.15.1 |
Products include Debian Debian Linux, Netapp Ontap Select Deploy Administration Utility, Redhat Enterprise Linux, Redhat Libvirt.
How do I fix CVE-2021-3667?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2021-3667 being exploited?
There is no known exploitation of CVE-2021-3667 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2021-3667, GHSA-q27q-h2jw-qq6c, MGASA-2021-0547, SUSE-SU-2021:3277-1, SUSE-SU-2021:3540-1, SUSE-SU-2021:3586-1 and 2 more.