Skip to content
OpenAdvisories
Unscored CVE-2021-3667 EUVD-2021-26959GHSA-q27q-h2jw-qq6c

An improper locking issue was found in the virStoragePoolLookupByTargetPath API of libvirt. It occurs in the storagePoolLookupByTargetPath …

Published Mar 2, 2022 · Updated Feb 13, 2025 · 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.

Affected products

VendorProductAffectedFixed
— libvirt Fixedin - libvert v7.6.0-rc1 and above —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libvirt 7.6.0-1 —
Debian 13 libvirt 7.6.0-1 —
Debian 12 libvirt 7.6.0-1 —
Debian 10 libvirt 5.0.0-4+deb10u2 DLA-3778-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libvirt 7.6.0-0ubuntu3 —
Ubuntu 20.04 LTS libvirt 6.0.0-0ubuntu8.16 USN-5399-1
Ubuntu 18.04 LTS libvirt 4.0.0-1ubuntu8.21 USN-5399-1
ReleasePackageFixed inAdvisory
RHEL 8 SLOF 20191022-3.git899d9883.module+el8.2.0+5449+efc036dd RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 hivex +6 1.3.18-20.module+el8.2.0+5588+63a201c3 RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libguestfs-winsupport 8.2-1.module+el8.3.0+6423+e4cb6418 RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libiscsi +2 1.18.0-8.module+el8.1.0+4066+0f1aadab RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libnbd +5 1.2.2-1.module+el8.2.0+5644+32ac38d4 RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libnbd-bash-completion 1.6.0-3.module+el8.4.0+9856+bbc47853 RHSA-2021:3703
RHEL 8 libtpms +1 0.7.0-1.20191018gitdc116933b7.module+el8.2.0+4793+b09dd2fb RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libvirt +28 6.0.0-25.6.module+el8.2.1+12457+868e9540 RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.2.0+4793+b09dd2fb RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libvirt-python +1 6.0.0-1.module+el8.2.0+5453+31b2b136 RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libvirt-wireshark 7.0.0-14.4.module+el8.4.0+12413+d23780e6 RHSA-2021:3703
RHEL 8 nbdkit +13 1.16.2-4.module+el8.2.1+6710+effcb1df RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 nbdkit-nbd-plugin +4 1.24.0-1.module+el8.4.0+9341+96cf2672 RHSA-2021:3703
RHEL 8 netcf +2 0.2.8-12.module+el8.1.0+4066+0f1aadab RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 perl-Sys-Virt 6.0.0-1.module+el8.2.0+5488+267def79 RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 python-pyvmomi +1 6.7.1-7.module+el8.2.0+4793+b09dd2fb RHSA-2021:3704, RHSA-2021:3703
RHEL 8 qemu-img +10 15:4.2.0-29.module+el8.2.1+12598+39ddf37a.9 RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 qemu-kiwi +3 15:5.2.0-16.module+el8.4.0+12596+209e4022.10 RHSA-2021:3703
RHEL 8 seabios +2 1.13.0-2.module+el8.2.1+7284+aa32a2c4 RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 supermin +1 5.1.19-10.module+el8.2.0+4793+b09dd2fb RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 swtpm +3 0.2.0-2.20200127gitff5a83b.module+el8.2.0+5579+d71178e0 RHSA-2021:3704, RHSA-2021:3703
RHEL 8 virglrenderer +2 0.8.2-1.module+el8.2.0+5777+d9c2af8c RHSA-2021:3704
RHEL 8 virt-dib +25 1:1.40.2-24.module+el8.2.1+7154+47ffd890 RHSA-2021:4191, RHSA-2021:3704, RHSA-2021:3703
RHEL 8 virt-v2v-man-pages-ja +2 1:1.42.0-9.module+el8.4.0+9561+069bb9c1 RHSA-2021:3703

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 hivex +4 1.3.18-21.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 libguestfs-winsupport 8.2-1.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 libiscsi +2 1.18.0-8.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 libnbd +3 1.2.2-1.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 libvirt +28 6.0.0-37.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 libvirt-dbus 1.3.0-2.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 nbdkit +13 1.16.2-4.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 netcf +2 0.2.8-12.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 perl-Sys-Virt +1 6.0.0-1.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 seabios +2 1.13.0-2.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 sgabios +1 1:0.20170427git-3.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 supermin +1 5.1.19-10.module_el8.5.0+2608+72063365 ALSA-2021:4191
AlmaLinux 8 virt-dib +23 1:1.40.2-28.module_el8.5.0+2608+72063365.alma ALSA-2021:4191

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 hivex 1.3.18-21.module+el8.4.0+642+7e26f5e1 RLSA-2021:4191
Rocky Linux 8 libguestfs 1:1.40.2-28.module+el8.5.0+670+c4aa478c RLSA-2021:4191
Rocky Linux 8 libguestfs-winsupport 8.2-1.module+el8.4.0+534+4680a14e RLSA-2021:4191
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.4.0+534+4680a14e RLSA-2021:4191
Rocky Linux 8 libnbd 1.2.2-1.module+el8.4.0+534+4680a14e RLSA-2021:4191
Rocky Linux 8 libvirt 6.0.0-37.module+el8.5.0+670+c4aa478c RLSA-2021:4191
Rocky Linux 8 libvirt-dbus 1.3.0-2.module+el8.4.0+534+4680a14e RLSA-2021:4191
Rocky Linux 8 nbdkit 1.16.2-4.module+el8.4.0+534+4680a14e RLSA-2021:4191
Rocky Linux 8 netcf 0.2.8-12.module+el8.4.0+534+4680a14e RLSA-2021:4191
Rocky Linux 8 perl-Sys-Virt +1 6.0.0-1.module+el8.4.0+534+4680a14e RLSA-2021:4191
Rocky Linux 8 qemu-kvm 5:4.2.0-59.module+el8.5.0+670+c4aa478c RLSA-2021:4191
Rocky Linux 8 seabios 1.13.0-2.module+el8.4.0+534+4680a14e RLSA-2021:4191
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.4.0+534+4680a14e RLSA-2021:4191
Rocky Linux 8 supermin 5.1.19-10.module+el8.4.0+534+4680a14e RLSA-2021:4191
ReleasePackageFixed inAdvisory
SLES 15 SP3 libvirt 7.1.0-6.5.1 SUSE-SU-2021:2812-1
SLES 15 SP2 libvirt 6.0.0-13.21.1 SUSE-SU-2021:3586-1
SLES 15 SP1 libvirt 5.1.0-8.29.1 SUSE-SU-2021:3540-1
SLES 12 SP5 libvirt 5.1.0-13.25.1 SUSE-SU-2021:3277-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 libvirt 5.1.0-8.29.1 SUSE-SU-2021:3540-1
SLES for SAP 12 SP5 libvirt 5.1.0-13.25.1 SUSE-SU-2021:3277-1
SLE Micro 5.0 libvirt 6.0.0-13.21.1 SUSE-SU-2021:3586-1
SLE HPC 15 SP1 libvirt 5.1.0-8.29.1 SUSE-SU-2021:3540-1
SUSE Enterprise Storage 6 libvirt 5.1.0-8.29.1 SUSE-SU-2021:3540-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libvirt 7.7.0-2.1 openSUSE-SU-2024:11008-1
openSUSE Leap 15.3 libvirt 7.1.0-6.5.1 openSUSE-SU-2021:2812-1
openSUSE Leap 15.2 libvirt 6.0.0-lp152.9.15.1 openSUSE-SU-2021:1451-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 hivex +6 1.3.18-21.module+el8.5.0+20365+3abb8f5b ELSA-2021-4191
Oracle Linux 8 libguestfs-winsupport 8.2-1.module+el8.3.0+7860+a7792d29 ELSA-2021-4191
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.3.0+7860+a7792d29 ELSA-2021-4191
Oracle Linux 8 libnbd +5 1.2.2-1.module+el8.3.0+7860+a7792d29 ELSA-2021-4191
Oracle Linux 8 libvirt +28 6.0.0-37.0.1.module+el8.5.0+20365+3abb8f5b ELSA-2021-4191
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.3.0+7860+a7792d29 ELSA-2021-4191
Oracle Linux 8 nbdkit +13 1.16.2-4.0.1.module+el8.3.0+7860+a7792d29 ELSA-2021-4191
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.3.0+7860+a7792d29 ELSA-2021-4191
Oracle Linux 8 perl-Sys-Virt +1 6.0.0-1.module+el8.3.0+7860+a7792d29 ELSA-2021-4191
Oracle Linux 8 qemu-img +10 15:4.2.0-59.module+el8.5.0+20410+46b2d321 ELSA-2021-4191
Oracle Linux 8 seabios +2 1.13.0-2.module+el8.3.0+7860+a7792d29 ELSA-2021-4191
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.3.0+7860+a7792d29 ELSA-2021-4191
Oracle Linux 8 supermin +1 5.1.19-10.module+el8.3.0+7860+a7792d29 ELSA-2021-4191
Oracle Linux 8 virt-dib +25 1:1.40.2-28.0.1.module+el8.5.0+20363+3abb8f5b ELSA-2021-4191

Advisories 16

References