Improper Locking Affecting virt-devel:rhel/python3-libnbd package, versions <0:1.6.0-5.module+el8.7.0+16689+53d59bc2


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.09% (41st 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-RHEL8-VIRTDEVEL-4338590
  • published26 Mar 2022
  • disclosed17 Mar 2022

Introduced: 17 Mar 2022

CVE-2022-0897  (opens in a new tab)
CWE-667  (opens in a new tab)

How to fix?

Upgrade RHEL:8 virt-devel:rhel/python3-libnbd to version 0:1.6.0-5.module+el8.7.0+16689+53d59bc2 or higher.
This issue was patched in RHSA-2022:7472.

NVD Description

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

A flaw was found in the libvirt nwfilter driver. The virNWFilterObjListNumOfNWFilters method failed to acquire the driver->nwfilters mutex before iterating over virNWFilterObj instances. There was no protection to stop another thread from concurrently modifying the driver->nwfilters object. This flaw allows a malicious, unprivileged user to exploit this issue via libvirt's API virConnectNumOfNWFilters to crash the network filter management daemon (libvirtd/virtnwfilterd).

CVSS Scores

version 3.1