Improper Locking Affecting libvirt package, versions <8.2.0-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-DEBIANUNSTABLE-LIBVIRT-2433901
  • published26 Mar 2022
  • 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 Debian:unstable libvirt to version 8.2.0-1 or higher.

NVD Description

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