cbcvebase.
CVE-2022-0897
published 2022-03-25

CVE-2022-0897: A flaw was found in the libvirt nwfilter driver. The virNWFilterObjListNumOfNWFilters method failed to acquire the driver->nwfilters mutex before iterating…

medium4.3CVSS 3.1
AVNACLPRLUINSUCNINAL
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).

Affected

10 ranges
VendorProductVersion rangeFixed in
debianlibvirt< libvirt 8.2.0-1 (bookworm)libvirt 8.2.0-1 (bookworm)
redhatlibvirt<= 1.1.1
redhatlibvirt
redhatlibvirt>= 0 < 7.0.0-3+deb11u37.0.0-3+deb11u3
redhatlibvirt>= 0 < 8.2.0-18.2.0-1
redhatlibvirt>= 0 < 8.2.0-18.2.0-1
redhatlibvirt>= 0 < 8.2.0-18.2.0-1
redhatlibvirt>= 0 < 4.0.0-1ubuntu8.214.0.0-1ubuntu8.21
redhatlibvirt>= 0 < 6.0.0-0ubuntu8.166.0.0-0ubuntu8.16
redhatlibvirt>= 0 < 8.0.0-1ubuntu7.58.0.0-1ubuntu7.5

CVSS provenance

nvdv3.14.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
osv6.7MEDIUM