CVE-2022-0897: Medium severity red hat libvirt-daemon-driver-storage-iscsi-direct vulnerability

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

Other sources

The virNWFilterObjListNumOfNWFilters method iterates over the driver->nwfilters, accessing virNWFilterObj instances. However, it fails to acquire the driver mutex, thus there is no protection to stop another thread from concurrently modifying the driver->nwfilters object. An unprivileged user could exploit this issue via libvirt API virConnectNumOfNWFilters to crash the libvirtd/virtnwfilterd daemon.

Red Hat

Affected Software

5 affected componentsFixes available
redhat/libvirt<0:8.5.0-7.el9_1
0:8.5.0-7.el9_1
redhat/libvirt 8.0.0<8
8
debian/libvirt
7.0.0-3+deb11u39.0.0-4+deb12u110.7.0-3
redhat libvirt<=1.1.1
NetApp ONTAP Select Deploy administration utility

Event History

Mar 17, 2022
CVE Published
12:00 AM
Mar 25, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
May 3, 2024
Data Sourced
via Launchpad·02:08 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:38 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-0897?

CVE-2022-0897 is a vulnerability found in the libvirt nwfilter driver that allows concurrent modification of the driver's nwfilters object.

2

What is the severity of CVE-2022-0897?

CVE-2022-0897 has a severity rating of medium.

3

How does CVE-2022-0897 affect libvirt?

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.

4

Which versions of libvirt are affected by CVE-2022-0897?

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.

5

How can CVE-2022-0897 be fixed?

To fix CVE-2022-0897, update libvirt to version 4.0.0-1ubuntu8.21 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203