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

medium Nessus Plugin ID 201622

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-4418 advisory.

- A race condition leading to a stack use-after-free flaw was found in libvirt. Due to a bad assumption in the virNetClientIOEventLoop() method, the `data` pointer to a stack-allocated virNetClientIOEventData structure ended up being used in the virNetClientIOEventFD callback while the data pointer's stack frame was concurrently being freed when returning from virNetClientIOEventLoop(). The 'virtproxyd' daemon can be used to trigger requests. If libvirt is configured with fine-grained access control, this issue, in theory, allows a user to escape their otherwise limited access. This flaw allows a local, unprivileged user to access virtproxyd without authenticating. Remote users would need to authenticate before they could access it. (CVE-2024-4418)

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-4418

Plugin Details

Severity: Medium

ID: 201622

File Name: mariner_CVE-2024-4418.nasl

Version: 1.1

Type: local

Published: 7/3/2024

Updated: 7/3/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

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-4418

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: 5/8/2024

Reference Information

CVE: CVE-2024-4418