NewStart CGSL MAIN 7.02 : libvirt Multiple Vulnerabilities (NS-SA-2025-0189)

medium Nessus Plugin ID 242715

Synopsis

The remote NewStart CGSL host is affected by multiple vulnerabilities.

Description

The remote NewStart CGSL host, running version MAIN 7.02, has libvirt packages installed that are affected by multiple vulnerabilities:

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

- 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

Upgrade the vulnerable CGSL libvirt packages. Note that updated packages may not be available yet. Please contact ZTE for more information.

See Also

https://security.gd-linux.com/notice/NS-SA-2025-0189

https://security.gd-linux.com/info/CVE-2024-1441

https://security.gd-linux.com/info/CVE-2024-2494

https://security.gd-linux.com/info/CVE-2024-4418

Plugin Details

Severity: Medium

ID: 242715

File Name: newstart_cgsl_NS-SA-2025-0189_libvirt.nasl

Version: 1.1

Type: local

Published: 7/25/2025

Updated: 7/25/2025

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:zte:cgsl_main:libvirt-daemon-common, p-cpe:/a:zte:cgsl_main:libvirt-daemon-proxy, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-storage-logical, p-cpe:/a:zte:cgsl_main:libvirt-daemon-plugin-lockd, p-cpe:/a:zte:cgsl_main:libvirt-daemon-plugin-sanlock, p-cpe:/a:zte:cgsl_main:libvirt-daemon-neo-frontend, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-storage-iscsi, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-network, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-nodedev, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-storage-scsi, p-cpe:/a:zte:cgsl_main:libvirt-client, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-storage-core, p-cpe:/a:zte:cgsl_main:libvirt-daemon-config-nwfilter, p-cpe:/a:zte:cgsl_main:libvirt-docs, p-cpe:/a:zte:cgsl_main:libvirt-libs, p-cpe:/a:zte:cgsl_main:libvirt-nss, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-secret, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-interfaceneo, p-cpe:/a:zte:cgsl_main:libvirt-daemon-lock, p-cpe:/a:zte:cgsl_main:libvirt-daemon-log, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-interface, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-storage-iscsi-direct, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-storage-mpath, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-nwfilter, p-cpe:/a:zte:cgsl_main:libvirt-daemon-config-network, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-qemu, p-cpe:/a:zte:cgsl_main:libvirt, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-qemu-neo, p-cpe:/a:zte:cgsl_main:libvirt-daemon, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-storage-disk, p-cpe:/a:zte:cgsl_main:libvirt-daemon-kvm, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-qemu-impl, cpe:/o:zte:cgsl_main:7, p-cpe:/a:zte:cgsl_main:libvirt-devel, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-storage, p-cpe:/a:zte:cgsl_main:libvirt-daemon-driver-storage-gluster

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/25/2025

Vulnerability Publication Date: 3/11/2024

Reference Information

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

IAVA: 2024-A-0184-S