---
title: "CVE-2022-0897\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-0897?format=md
keywords: index, follow
---

# CVE-2022-0897

Publication date 25 March 2022

Last updated 18 August 2025

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**4.3 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2022-0897?format=md#impact-score)

Toggle side navigation

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libvirt | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.10 kinetic | Not affected |
| 22.04 LTS jammy | Fixed 8.0.0-1ubuntu7.5 |
| 21.10 impish | Fixed 7.6.0-0ubuntu1.2 |
| 20.04 LTS focal | Fixed 6.0.0-0ubuntu8.16 |
| 18.04 LTS bionic | Fixed 4.0.0-1ubuntu8.21 |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2022-0897?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| libvirt | * Upstream:   [a4947e8](https://gitlab.com/libvirt/libvirt/-/commit/a4947e8f63c3e6b7b067b444f3d6cf674c0d7f36) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

4.3 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | Low |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 4.3 · Medium |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0897)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-0897)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-0897)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-0897)

### Related Ubuntu Security Notices (USN)

+ [USN-5399-1](https://usn.ubuntu.com/USN-5399-1)
+ libvirt vulnerabilities
+ 2 May 2022

+ [USN-6126-1](https://usn.ubuntu.com/USN-6126-1)
+ libvirt vulnerabilities
+ 31 May 2023

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2022-0897>
