Ubuntu 24.04 LTS. : libvirt vulnerabilities (USN-6734-2)

medium Nessus Plugin ID 194729

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 24.04 LTS. host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-6734-2 advisory.

- An off-by-one error flaw was found in the udevListInterfacesByStatus() function in libvirt when the number of interfaces exceeds the size of the `names` array. This issue can be reproduced by sending specially crafted data to the libvirt daemon, allowing an unprivileged client to perform a denial of service attack by causing the libvirt daemon to crash. (CVE-2024-1441)

- 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. (CVE-2024-2494)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-6734-2

Plugin Details

Severity: Medium

ID: 194729

File Name: ubuntu_USN-6734-2.nasl

Version: 1.0

Type: local

Agent: unix

Published: 4/29/2024

Updated: 4/29/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

CVSS Score Source: CVE-2024-2494

CVSS v3

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 5.4

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-system, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-driver-vbox, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-driver-xen, p-cpe:/a:canonical:ubuntu_linux:libvirt-wireshark, p-cpe:/a:canonical:ubuntu_linux:libnss-libvirt, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-config-nwfilter, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-system-systemd, p-cpe:/a:canonical:ubuntu_linux:libvirt0, p-cpe:/a:canonical:ubuntu_linux:libvirt-l10n, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-driver-qemu, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-driver-storage-iscsi-direct, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-driver-storage-rbd, p-cpe:/a:canonical:ubuntu_linux:libvirt-clients, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-driver-storage-zfs, p-cpe:/a:canonical:ubuntu_linux:libvirt-sanlock, cpe:/o:canonical:ubuntu_linux:24.04:-:lts., p-cpe:/a:canonical:ubuntu_linux:libvirt-clients-qemu, p-cpe:/a:canonical:ubuntu_linux:libvirt-dev, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-config-network, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-driver-lxc, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-driver-storage-gluster, p-cpe:/a:canonical:ubuntu_linux:libvirt-daemon-system-sysv, p-cpe:/a:canonical:ubuntu_linux:libvirt-login-shell

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 4/29/2024

Vulnerability Publication Date: 3/11/2024

Reference Information

CVE: CVE-2024-1441, CVE-2024-2494

IAVA: 2024-A-0184

USN: 6734-2