CVE-2021-3559
A flaw was found in libvirt in the virConnectListAllNodeDevices API in versions before 7.0.0. It only affects hosts with a PCI device and driver that supports mediated devices (e.g., GRID driver). This flaw could be used by an unprivileged client with a read-only connection to crash the libvirt daemon by executing the 'nodedev-list' virsh command. The highest threat from this vulnerability is to system availability.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | libvirt | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | libvirt | Fix pending | ||
| Red Hat Enterprise Linux 9 | libvirt | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-client | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-client-qemu | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-common | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-config-network | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-config-nwfilter | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-interface | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-network | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-nodedev | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-nwfilter | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-qemu | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-secret | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-core | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-disk | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-iscsi | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-logical | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-mpath | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-rbd | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-scsi | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-kvm | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-lock | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-log | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-plugin-lockd | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-plugin-sanlock | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-daemon-proxy | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-lock-sanlock | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-nss | Not affected | ||
| Red Hat Enterprise Linux 9 | libvirt-ssh-proxy | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-admin | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-bash-completion | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-client | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-config-network | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-config-nwfilter | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-interface | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-network | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-nodedev | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-nwfilter | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-qemu | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-secret | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-core | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-disk | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-gluster | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-iscsi | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-iscsi-direct | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-logical | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-mpath | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-rbd | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-scsi | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-kvm | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-docs | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-lock-sanlock | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-nss | Not affected | ||
| Red Hat Enterprise Linux 8 | libvirt-wireshark | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-admin | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-bash-completion | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-client | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-config-network | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-config-nwfilter | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-interface | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-lxc | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-network | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-nodedev | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-nwfilter | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-qemu | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-secret | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-core | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-disk | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-gluster | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-iscsi | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-logical | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-mpath | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-rbd | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-scsi | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-lxc | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-docs | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-lock-sanlock | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-login-shell | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-nss | Not affected | ||
| Red Hat Enterprise Linux 7 | libvirt-python | Not affected | ||
| Red Hat Enterprise Linux 6 | libvirt | Not affected | ||
| Red Hat Enterprise Linux 6 | libvirt-client | Not affected | ||
| Red Hat Enterprise Linux 6 | libvirt-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libvirt-lock-sanlock | Not affected | ||
| Red Hat Enterprise Linux 6 | libvirt-python | Not affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libvirt: affected: libvirt 7.0.0
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1962306
- https://security.netapp.com/advisory/ntap-20210706-0006/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.