CVE-2022-0897
A flaw was found in the libvirt nwfilter driver. The virNWFilterObjListNumOfNWFilters method failed to acquire the driver->nwfilters mutex before iter...
Original description
The description as published by the source.
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).
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2022-0897 libvirt Fixed in: 7.0.0-3+deb11u3
- Ubuntu UBUNTU-CVE-2022-0897 libvirt Fixed in: 4.0.0-1ubuntu8.21
References
- advisory github.com
- advisory nvd.nist.gov
- advisory security.gentoo.org
- report bugzilla.redhat.com
- web lists.debian.org