UBUNTU-CVE-2021-3559

Source
https://ubuntu.com/security/CVE-2021-3559
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3559.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3559
Upstream
Withdrawn
2025-07-18T16:46:26Z
Published
2021-05-24T12:15:00Z
Modified
2025-07-16T08:15:45.339549Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:18.04:LTS / libvirt

Package

Name
libvirt
Purl
pkg:deb/ubuntu/libvirt@4.0.0-1ubuntu8.19?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0.0-1ubuntu8.19

Affected versions

3.*

3.6.0-1ubuntu5
3.6.0-1ubuntu6

4.*

4.0.0-1ubuntu1
4.0.0-1ubuntu2
4.0.0-1ubuntu3
4.0.0-1ubuntu4
4.0.0-1ubuntu5
4.0.0-1ubuntu6
4.0.0-1ubuntu7
4.0.0-1ubuntu8
4.0.0-1ubuntu8.1
4.0.0-1ubuntu8.2
4.0.0-1ubuntu8.3
4.0.0-1ubuntu8.4
4.0.0-1ubuntu8.5
4.0.0-1ubuntu8.6
4.0.0-1ubuntu8.7
4.0.0-1ubuntu8.8
4.0.0-1ubuntu8.9
4.0.0-1ubuntu8.10
4.0.0-1ubuntu8.11
4.0.0-1ubuntu8.12
4.0.0-1ubuntu8.13
4.0.0-1ubuntu8.14
4.0.0-1ubuntu8.15
4.0.0-1ubuntu8.16
4.0.0-1ubuntu8.17

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libnss-libvirt"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libnss-libvirt-dbgsym"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-bin"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-clients"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-clients-dbgsym"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon-dbgsym"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon-driver-storage-gluster"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon-driver-storage-gluster-dbgsym"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon-driver-storage-rbd"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon-driver-storage-rbd-dbgsym"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon-driver-storage-sheepdog"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon-driver-storage-sheepdog-dbgsym"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon-driver-storage-zfs"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon-driver-storage-zfs-dbgsym"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon-system"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-daemon-system-dbgsym"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-dev"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-doc"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-sanlock"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-sanlock-dbgsym"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-wireshark"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt-wireshark-dbgsym"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt0"
        },
        {
            "binary_version": "4.0.0-1ubuntu8.19",
            "binary_name": "libvirt0-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / libvirt

Package

Name
libvirt
Purl
pkg:deb/ubuntu/libvirt@6.0.0-0ubuntu8.9?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.0-0ubuntu8.9

Affected versions

5.*

5.4.0-0ubuntu5

6.*

6.0.0-0ubuntu1
6.0.0-0ubuntu2
6.0.0-0ubuntu3
6.0.0-0ubuntu4
6.0.0-0ubuntu5
6.0.0-0ubuntu6
6.0.0-0ubuntu7
6.0.0-0ubuntu8
6.0.0-0ubuntu8.1
6.0.0-0ubuntu8.2
6.0.0-0ubuntu8.3
6.0.0-0ubuntu8.4
6.0.0-0ubuntu8.5
6.0.0-0ubuntu8.7
6.0.0-0ubuntu8.8

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libnss-libvirt"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libnss-libvirt-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-clients"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-clients-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-lxc"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-lxc-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-qemu"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-qemu-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-storage-gluster"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-storage-gluster-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-storage-rbd"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-storage-rbd-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-storage-zfs"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-storage-zfs-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-vbox"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-vbox-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-xen"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-driver-xen-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-system"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-system-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-system-systemd"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-daemon-system-sysv"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-dev"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-doc"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-sanlock"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-sanlock-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-wireshark"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt-wireshark-dbgsym"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt0"
        },
        {
            "binary_version": "6.0.0-0ubuntu8.9",
            "binary_name": "libvirt0-dbgsym"
        }
    ]
}