Improper Locking Affecting libvirt-lock-sanlock package, versions *


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.1% (42nd 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-RHEL7-LIBVIRTLOCKSANLOCK-2434168
  • 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?

There is no fixed version for RHEL:7 libvirt-lock-sanlock.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libvirt-lock-sanlock package and not the libvirt-lock-sanlock package as distributed by RHEL. See How to fix? for RHEL:7 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