First published: Mon Mar 14 2022(Updated: )
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).
Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/libvirt | <0:8.5.0-7.el9_1 | 0:8.5.0-7.el9_1 |
Redhat Libvirt | <=1.1.1 | |
NetApp ONTAP Select Deploy administration utility | ||
redhat/libvirt 8.0.0 | <8 | 8 |
debian/libvirt | 7.0.0-3+deb11u3 9.0.0-4+deb12u1 10.7.0-3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-0897 is a vulnerability found in the libvirt nwfilter driver that allows concurrent modification of the driver's nwfilters object.
CVE-2022-0897 has a severity rating of medium.
CVE-2022-0897 affects libvirt by failing to acquire the driver->nwfilters mutex before iterating over virNWFilterObj instances, allowing concurrent modification of the driver's nwfilters object.
Versions 4.0.0-1ubuntu8.21, 6.0.0-0ubuntu8.16, 7.6.0-0ubuntu1.2, 8.0.0-1ubuntu7.5, and 9.0.0-4 are affected by CVE-2022-0897.
To fix CVE-2022-0897, update libvirt to version 4.0.0-1ubuntu8.21 or later.