cve.bz

CVE-2022-0897 Improper Locking

4.3 mediumEPSS 0.9%

Medium (4.3). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS
0.9% (down from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-667 Improper Locking
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-0897 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-0897?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-0897?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-0897 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:libvirtthrough 1.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libvirt5.0.0-4+deb10u2DLA-3778-1
Debian12, 13, 14libvirt8.2.0-1DEBIAN-CVE-2022-0897
Ubuntu18.04:LTSlibvirt4.0.0-1ubuntu8.21UBUNTU-CVE-2022-0897 USN-5399-1
Ubuntu20.04:LTSlibvirt6.0.0-0ubuntu8.16UBUNTU-CVE-2022-0897 USN-5399-1
Ubuntu22.04:LTSlibvirt8.0.0-1ubuntu7.5UBUNTU-CVE-2022-0897 USN-6126-1
Red Hatenterprise_linux:8::appstreamhivex, perl-hivex, ruby-hivex and 7 more0:1.3.18-23.module+el8.7.0+16689+53d59bc2RHSA-2022:7472
Red Hatenterprise_linux:8::appstreamlibnbd, nbdfuse, libnbd-devel and 6 more0:1.6.0-5.module+el8.7.0+16689+53d59bc2RHSA-2022:7472
Red Hatenterprise_linux:8::appstreamlibtpms, libtpms-devel, libtpms-debuginfo and 1 more0:0.9.1-1.20211126git1ff6fe1f43.module+el8.7.0+16689+53d59bc2RHSA-2022:7472
Red Hatenterprise_linux:8::appstreamlibvirt, libvirt-nss, libvirt-docs and 48 more0:8.0.0-10.module+el8.7.0+16689+53d59bc2RHSA-2022:7472
Red Hatenterprise_linux:8::appstreamlibvirt-python, python3-libvirt, python3-libvirt-debuginfo and 1 more0:8.0.0-2.module+el8.7.0+16689+53d59bc2RHSA-2022:7472
Red Hatenterprise_linux:8::appstreamnbdkit, nbdkit-devel, nbdkit-server and 34 more0:1.24.0-4.module+el8.7.0+16689+53d59bc2RHSA-2022:7472
Red Hatenterprise_linux:8::appstreamqemu-img, qemu-kvm, qemu-kvm-core and 25 more15:6.2.0-20.module+el8.7.0+16689+53d59bc2.1RHSA-2022:7472
Red Hatenterprise_linux:8::appstreamseabios, seabios-bin, seavgabios-bin0:1.16.0-3.module+el8.7.0+16689+53d59bc2RHSA-2022:7472
Red Hatenterprise_linux:8::appstreamsgabios, sgabios-bin1:0.20170427git-3.module+el8.7.0+16689+53d59bc2RHSA-2022:7472
Red Hatenterprise_linux:8::appstreamsupermin, supermin-devel, supermin-debuginfo and 1 more0:5.2.1-2.module+el8.7.0+16689+53d59bc2RHSA-2022:7472
Red Hatenterprise_linux:8::appstreamswtpm, swtpm-libs, swtpm-devel and 6 more0:0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2RHSA-2022:7472
Red Hatenterprise_linux:8::appstreamvirt-dib, libguestfs, lua-guestfs and 30 more1:1.44.0-9.module+el8.7.0+16689+53d59bc2RHSA-2022:7472
18 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morelibvirt6.0.0-150200.13.27.1SUSE-SU-2023:2754-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Module for Basesystem 15 SP3 and 1 morelibvirt7.1.0-150300.6.29.1SUSE-SU-2022:1549-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libvirt5.1.0-13.31.1SUSE-SU-2022:1540-1
openSUSELeap 15.3, Leap 15.4libvirt7.1.0-150300.6.29.1SUSE-SU-2022:1549-1
openSUSETumbleweedlibvirt8.2.0-1.1openSUSE-SU-2024:11972-1
AlmaLinux9libvirt, libvirt-nss, libvirt-docs and 22 more8.5.0-7.el9_1ALSA-2022:8003
Rocky Linux8hivex0:1.3.18-23.module+el8.6.0+847+b490afddRLSA-2022:7472
Rocky Linux8hivex0:1.3.18-23.module+el8.7.0+1084+97b81f61RLSA-2022:7472
Rocky Linux8libguestfs1:1.44.0-9.module+el8.7.0+1084+97b81f61.rockyRLSA-2022:7472
Rocky Linux8libguestfs-winsupport0:8.6-1.module+el8.6.0+847+b490afddRLSA-2022:7472
Rocky Linux8libguestfs-winsupport0:8.6-1.module+el8.7.0+1084+97b81f61RLSA-2022:7472
Rocky Linux8libiscsi0:1.18.0-8.module+el8.4.0+534+4680a14eRLSA-2022:7472
Rocky Linux8libiscsi0:1.18.0-8.module+el8.6.0+847+b490afddRLSA-2022:7472
Rocky Linux8libiscsi0:1.18.0-8.module+el8.7.0+1084+97b81f61RLSA-2022:7472
Rocky Linux8libnbd0:1.6.0-5.module+el8.6.0+847+b490afddRLSA-2022:7472
Rocky Linux8libnbd0:1.6.0-5.module+el8.7.0+1084+97b81f61RLSA-2022:7472
Rocky Linux8libtpms0:0.9.1-1.20211126git1ff6fe1f43.module+el8.7.0+1084+97b81f61RLSA-2022:7472
Rocky Linux8libvirt0:8.0.0-10.module+el8.7.0+1084+97b81f61RLSA-2022:7472
19 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

A future update may address this issue in Red Hat Enterprise Linux 8 and RHEL Advanced Virtualization.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8virt-devel:rhel-8070020220921004438.3b9f49c4Fixed 2022-11-08RHSA-2022:7472
Red Hat Enterprise Linux 8virt:rhel-8070020220921004438.3b9f49c4Fixed 2022-11-08RHSA-2022:7472
Red Hat Enterprise Linux 9libvirt-0:8.5.0-7.el9_1Fixed 2022-11-15RHSA-2022:8003
Red Hat Enterprise Linux 6libvirtOut of support scope
Red Hat Enterprise Linux 7libvirtOut of support scope
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.2/libvirtFix deferred
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/libvirtFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-0897.

Attack patterns (CAPEC)

  • CAPEC-25 Forced Deadlock Likelihood: Low · Severity: High
  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON