Advisory

UBUNTU-CVE-2022-0897

Also known as: CVE-2022-0897

Summary

The record has no summary.

Details

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

Severity

Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2022-03-25 19:15 UTC
Modified
2026-08-15 01:45 UTC

Affected packages and fixes

libvirt

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 4.0.0-1ubuntu8.21 (ecosystem)

Fixed versions

4.0.0-1ubuntu8.21

Fix

  • Fixed version 4.0.0-1ubuntu8.21
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libvirt

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 6.0.0-0ubuntu8.16 (ecosystem)

Fixed versions

6.0.0-0ubuntu8.16

Fix

  • Fixed version 6.0.0-0ubuntu8.16
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libvirt

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 8.0.0-1ubuntu7.5 (ecosystem)

Fixed versions

8.0.0-1ubuntu7.5

Fix

  • Fixed version 8.0.0-1ubuntu7.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences