CVE-2021-3559
NixOS vulnerability analysis and mitigation

Overview

A vulnerability was identified in libvirt versions before 7.0.0, specifically in the virConnectListAllNodeDevices API. The vulnerability (CVE-2021-3559) affects hosts with PCI devices and drivers that support mediated devices, and was introduced in libvirt version 6.10.0 (Bugzilla Report).

Technical details

The vulnerability stems from incorrect operator precedence when dereferencing an array pointer in the virNodeDeviceGetMdevTypesCaps() function within src/conf/nodedeviceconf.c. The issue was introduced through a commit in libvirt version 6.10.0 and was subsequently fixed in version 7.0.0 (Bugzilla Report). The vulnerability has been assigned a CVSS v3.1 score of 6.5 (Medium) with a vector of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NetApp Security).

Impact

When successfully exploited, this vulnerability could lead to a Denial of Service (DoS) condition in the affected libvirt service (NetApp Security).

Mitigation and workarounds

The vulnerability has been fixed in libvirt version 7.0.0. Users are advised to upgrade to this version or later to address the issue. The fix was implemented through a commit in the upstream repository (Bugzilla Report).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management