Improper Locking Affecting virt:rhel/python3-libvirt package, versions <0:6.0.0-1.module_el8.5.0+2608+72063365


Severity

Recommended
0.0
medium
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.33% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-VIRT-5655357
  • published28 May 2023
  • disclosed9 Nov 2021

Introduced: 9 Nov 2021

CVE-2021-3667  (opens in a new tab)
CWE-667  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade AlmaLinux:8 virt:rhel/python3-libvirt to version 0:6.0.0-1.module_el8.5.0+2608+72063365 or higher.
This issue was patched in ALSA-2021:4191.

NVD Description

Note: Versions mentioned in the description apply only to the upstream virt:rhel/python3-libvirt package and not the virt:rhel/python3-libvirt package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1