Improper Locking Affecting libvirt-daemon-driver-storage package, versions <0:8.0.0-10.module+el8.7.0+1084+97b81f61


Severity

Recommended
low

Based on Rocky 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-ROCKY8-LIBVIRTDAEMONDRIVERSTORAGE-3271582
  • published5 Jan 2023
  • disclosed25 Mar 2022

Introduced: 25 Mar 2022

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

How to fix?

Upgrade Rocky-Linux:8 libvirt-daemon-driver-storage to version 0:8.0.0-10.module+el8.7.0+1084+97b81f61 or higher.
This issue was patched in RLSA-2022:7472.

NVD Description

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