CVE-2022-0897

medium

Description

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).

References

https://security.gentoo.org/glsa/202210-06

https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html

https://bugzilla.redhat.com/show_bug.cgi?id=2063883

Details

Source: Mitre, NVD

Published: 2022-03-25

Updated: 2024-04-01

Risk Information

CVSS v2

Base Score: 4

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 4.3

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Severity: Medium