A flaw was found in the libvirt nwfilter driver.
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 4 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | libvirt | libvirt 8.0.0-8 | — | No fix listed | CNA |
- libvirt Vendor— Affected libvirt 8.0.0-8 Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2022:8003 Released 2022-11-15 · Red Hat rating Lowlibvirt security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 9) libvirt-devel-8.5.0-7.el9_1, libvirt-docs-8.5.0-7.el9_1, libvirt-lock-sanlock-8.5.0-7.el9_1
- Red Hat Enterprise Linux AppStream (v. 9) libvirt-8.5.0-7.el9_1, libvirt-client-8.5.0-7.el9_1, libvirt-daemon-8.5.0-7.el9_1 +19
- RHSA-2022:7472 Released 2022-11-08 · Red Hat rating Lowvirt:rhel and virt-devel:rhel security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 8) SLOF-20210217-1.module+el8.7.0+16689+53d59bc2.src::virt-devel:rhel, hivex-1.3.18-23.module+el8.7.0+16689+53d59bc2.i686::virt-devel:rhel, hivex-devel-1.3.18-23.module+el8.7.0+16689+53d59bc2.i686::virt-devel:rhel +47
- Red Hat Enterprise Linux AppStream (v. 8) SLOF-20210217-1.module+el8.7.0+16689+53d59bc2.noarch::virt:rhel, SLOF-20210217-1.module+el8.7.0+16689+53d59bc2.src::virt:rhel, hivex-1.3.18-23.module+el8.7.0+16689+53d59bc2.aarch64::virt:rhel +47
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 Advanced Virtualization | Affected | No fix yet: Fix deferred |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2022:7472 |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2022:8003 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2022:7472 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:8003 |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-0897
- 2026-10-03 Alias added: GHSA-4r2g-j5rc-7wqf
References
Sources
- CVE-2022-0897 · CVE Program
- CVE-2022-0897 · NVD
- FIRST EPSS
- GHSA-4r2g-j5rc-7wqf · GitHub Advisory Database · CC BY 4.0
- CVE-2022-0897 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences