A flaw was found in the RPC library APIs of libvirt. The RPC server deserialization code allocates memory for arrays before the non-negative length check is performed by the C API entry points. Passing a negative length to the g_new0 function results in a crash due to the negative length being treated as a huge positive number. This flaw allows a local, unprivileged user to perform a denial of service attack by causing the libvirt daemon to crash.
{
"binaries": [
{
"binary_name": "libnss-libvirt",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt-bin",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt-clients",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt-daemon",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt-daemon-driver-storage-gluster",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt-daemon-driver-storage-rbd",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt-daemon-driver-storage-sheepdog",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt-daemon-driver-storage-zfs",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt-daemon-system",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt-dev",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt-sanlock",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt-wireshark",
"binary_version": "4.0.0-1ubuntu8.21"
},
{
"binary_name": "libvirt0",
"binary_version": "4.0.0-1ubuntu8.21"
}
]
}{
"binaries": [
{
"binary_name": "libnss-libvirt",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-clients",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-daemon",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-daemon-driver-lxc",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-daemon-driver-qemu",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-daemon-driver-storage-gluster",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-daemon-driver-storage-rbd",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-daemon-driver-storage-zfs",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-daemon-driver-vbox",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-daemon-driver-xen",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-daemon-system",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-daemon-system-systemd",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-daemon-system-sysv",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-dev",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-sanlock",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt-wireshark",
"binary_version": "6.0.0-0ubuntu8.19"
},
{
"binary_name": "libvirt0",
"binary_version": "6.0.0-0ubuntu8.19"
}
],
"availability": "No subscription required"
}{
"binaries": [
{
"binary_name": "libnss-libvirt",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-clients",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-config-network",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-config-nwfilter",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-driver-lxc",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-driver-qemu",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-driver-storage-gluster",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-driver-storage-iscsi-direct",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-driver-storage-rbd",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-driver-storage-zfs",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-driver-vbox",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-driver-xen",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-system",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-system-systemd",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-daemon-system-sysv",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-dev",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-login-shell",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-sanlock",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt-wireshark",
"binary_version": "8.0.0-1ubuntu7.10"
},
{
"binary_name": "libvirt0",
"binary_version": "8.0.0-1ubuntu7.10"
}
],
"availability": "No subscription required"
}{
"binaries": [
{
"binary_name": "libnss-libvirt",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-clients",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-clients-qemu",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-config-network",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-config-nwfilter",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-driver-lxc",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-driver-qemu",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-driver-storage-gluster",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-driver-storage-iscsi-direct",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-driver-storage-rbd",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-driver-storage-zfs",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-driver-vbox",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-driver-xen",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-system",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-system-systemd",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-daemon-system-sysv",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-dev",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-l10n",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-login-shell",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-sanlock",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt-wireshark",
"binary_version": "10.0.0-2ubuntu8.1"
},
{
"binary_name": "libvirt0",
"binary_version": "10.0.0-2ubuntu8.1"
}
],
"availability": "No subscription required"
}