CBL Mariner 2.0 Security Update: libvirt (CVE-2024-2494)

medium Nessus Plugin ID 201812

Synopsis

The remote CBL Mariner host is missing one or more security updates.

Description

The version of libvirt installed on the remote CBL Mariner 2.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2024-2494 advisory.

- 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 this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2024-2494

Plugin Details

Severity: Medium

ID: 201812

File Name: mariner_CVE-2024-2494.nasl

Version: 1.1

Type: local

Published: 7/3/2024

Updated: 7/3/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

Vector: CVSS2#AV:L/AC:L/Au:N/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:microsoft:cbl-mariner:libvirt-libs, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-storage-disk, p-cpe:/a:microsoft:cbl-mariner:libvirt-debuginfo, x-cpe:/o:microsoft:cbl-mariner, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-vbox, p-cpe:/a:microsoft:cbl-mariner:libvirt-admin, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-kvm, p-cpe:/a:microsoft:cbl-mariner:libvirt, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-storage-scsi, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-storage-core, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-storage-logical, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-interface, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-storage-rbd, p-cpe:/a:microsoft:cbl-mariner:libvirt-devel, p-cpe:/a:microsoft:cbl-mariner:libvirt-docs, p-cpe:/a:microsoft:cbl-mariner:libvirt-client, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-storage-gluster, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-secret, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-storage, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-qemu, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-nwfilter, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-network, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-storage-iscsi, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-config-nwfilter, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-config-network, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-storage-mpath, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-driver-nodedev, p-cpe:/a:microsoft:cbl-mariner:libvirt-lock-sanlock, p-cpe:/a:microsoft:cbl-mariner:libvirt-nss, p-cpe:/a:microsoft:cbl-mariner:libvirt-daemon-vbox

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/CBLMariner/release, Host/CBLMariner/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 7/1/2024

Vulnerability Publication Date: 3/21/2024

Reference Information

CVE: CVE-2024-2494