Lucene search
+L

NewStart CGSL MAIN 7.02 : qemu Multiple Vulnerabilities (NS-SA-2025-0072)

🗓️ 09 Jun 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 6 Views

QEMU on NewStart CGSL MAIN 7.02 has multiple vulnerabilities, allowing information leaks and DoS attacks.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from ZTE advisory NS-SA-2025-0072. The text
# itself is copyright (C) ZTE, Inc.
##

include('compat.inc');

if (description)
{
  script_id(237987);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/01/21");

  script_cve_id(
    "CVE-2023-6683",
    "CVE-2023-6693",
    "CVE-2024-3446",
    "CVE-2024-7730"
  );
  script_xref(name:"IAVB", value:"2024-B-0022-S");
  script_xref(name:"IAVB", value:"2024-B-0070-S");
  script_xref(name:"IAVB", value:"2024-B-0171-S");

  script_name(english:"NewStart CGSL MAIN 7.02 : qemu Multiple Vulnerabilities (NS-SA-2025-0072)");

  script_set_attribute(attribute:"synopsis", value:
"The remote NewStart CGSL host is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The remote NewStart CGSL host, running version MAIN 7.02, has qemu packages installed that are affected by multiple
vulnerabilities:

  - A stack based buffer overflow was found in the virtio-net device of QEMU. This issue occurs when flushing
    TX in the virtio_net_flush_tx function if guest features VIRTIO_NET_F_HASH_REPORT, VIRTIO_F_VERSION_1 and
    VIRTIO_NET_F_MRG_RXBUF are enabled. This could allow a malicious user to overwrite local variables
    allocated on the stack. Specifically, the `out_sg` variable could be used to read a part of process memory
    and send it to the wire, causing an information leak. (CVE-2023-6693)

  - A flaw was found in the QEMU built-in VNC server while processing ClientCutText messages. The
    qemu_clipboard_request() function can be reached before vnc_server_cut_text_caps() was called and had the
    chance to initialize the clipboard peer, leading to a NULL pointer dereference. This could allow a
    malicious authenticated VNC client to crash QEMU and trigger a denial of service. (CVE-2023-6683)

  - A double free vulnerability was found in QEMU virtio devices (virtio-gpu, virtio-serial-bus, virtio-
    crypto), where the mem_reentrancy_guard flag insufficiently protects against DMA reentrancy issues. This
    issue could allow a malicious privileged guest user to crash the QEMU process on the host, resulting in a
    denial of service or allow arbitrary code execution within the context of the QEMU process on the host.
    (CVE-2024-3446)

  - A heap buffer overflow was found in the virtio-snd device in QEMU. When reading input audio in the virtio-
    snd input callback, virtio_snd_pcm_in_cb, the function did not check whether the iov can fit the data
    buffer. This issue can trigger an out-of-bounds write if the size of the virtio queue element is equal to
    virtio_snd_pcm_status, which makes the available space for audio data zero. (CVE-2024-7730)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/notice/NS-SA-2025-0072");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-6683");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-6693");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2024-3446");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2024-7730");
  script_set_attribute(attribute:"solution", value:
"Upgrade the vulnerable CGSL qemu packages. Note that updated packages may not be available yet. Please contact ZTE for
more information.");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:S/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2023-6693");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2024/01/02");
  script_set_attribute(attribute:"patch_publication_date", value:"2025/05/28");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/06/09");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-audio-alsa");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-audio-oss");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-audio-pa");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-audio-spice");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-block-curl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-block-dmg");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-block-gluster");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-block-iscsi");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-block-rbd");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-block-ssh");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-char-baum");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-char-spice");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-common");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-device-display-qxl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-device-display-virtio-gpu");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-device-display-virtio-gpu-pci");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-device-display-virtio-vga");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-device-display-virtio-vga-gl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-device-usb-host");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-device-usb-redirect");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-device-usb-smartcard");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-docs");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-guest-agent");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-img");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-kvm");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-kvm-core");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-pr-helper");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-system-x86_64");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-system-x86_64-core");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-tools");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-ui-curses");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-ui-egl-headless");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-ui-gtk");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-ui-opengl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-ui-spice-app");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:qemu-ui-spice-core");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:zte:cgsl_main:7");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"NewStart CGSL Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2025-2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ssh_get_info2.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/ZTE-CGSL/release", "Host/ZTE-CGSL/rpm-list", "Host/cpu");

  exit(0);
}

include('rpm2.inc');

if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);

var os_release = get_kb_item('Host/ZTE-CGSL/release');
if (isnull(os_release) || os_release !~ "^CGSL (MAIN|CORE)") audit(AUDIT_OS_NOT, 'NewStart Carrier Grade Server Linux');

if (os_release !~ "CGSL\sMAIN\s7\.02")
  audit(AUDIT_OS_NOT, 'NewStart CGSL MAIN 7.02');

if (!get_kb_item('Host/ZTE-CGSL/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);

var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'NewStart Carrier Grade Server Linux', cpu);

var flag = 0;

var pkgs = {
  'CGSL MAIN 7.02': [
    'qemu-8.2.0-14.zncgsl7.63',
    'qemu-audio-alsa-8.2.0-14.zncgsl7.63',
    'qemu-audio-oss-8.2.0-14.zncgsl7.63',
    'qemu-audio-pa-8.2.0-14.zncgsl7.63',
    'qemu-audio-spice-8.2.0-14.zncgsl7.63',
    'qemu-block-curl-8.2.0-14.zncgsl7.63',
    'qemu-block-dmg-8.2.0-14.zncgsl7.63',
    'qemu-block-gluster-8.2.0-14.zncgsl7.63',
    'qemu-block-iscsi-8.2.0-14.zncgsl7.63',
    'qemu-block-rbd-8.2.0-14.zncgsl7.63',
    'qemu-block-ssh-8.2.0-14.zncgsl7.63',
    'qemu-char-baum-8.2.0-14.zncgsl7.63',
    'qemu-char-spice-8.2.0-14.zncgsl7.63',
    'qemu-common-8.2.0-14.zncgsl7.63',
    'qemu-device-display-qxl-8.2.0-14.zncgsl7.63',
    'qemu-device-display-virtio-gpu-8.2.0-14.zncgsl7.63',
    'qemu-device-display-virtio-gpu-pci-8.2.0-14.zncgsl7.63',
    'qemu-device-display-virtio-vga-8.2.0-14.zncgsl7.63',
    'qemu-device-display-virtio-vga-gl-8.2.0-14.zncgsl7.63',
    'qemu-device-usb-host-8.2.0-14.zncgsl7.63',
    'qemu-device-usb-redirect-8.2.0-14.zncgsl7.63',
    'qemu-device-usb-smartcard-8.2.0-14.zncgsl7.63',
    'qemu-docs-8.2.0-14.zncgsl7.63',
    'qemu-guest-agent-8.2.0-14.zncgsl7.63',
    'qemu-img-8.2.0-14.zncgsl7.63',
    'qemu-kvm-8.2.0-14.zncgsl7.63',
    'qemu-kvm-core-8.2.0-14.zncgsl7.63',
    'qemu-pr-helper-8.2.0-14.zncgsl7.63',
    'qemu-system-x86_64-8.2.0-14.zncgsl7.63',
    'qemu-system-x86_64-core-8.2.0-14.zncgsl7.63',
    'qemu-tools-8.2.0-14.zncgsl7.63',
    'qemu-ui-curses-8.2.0-14.zncgsl7.63',
    'qemu-ui-egl-headless-8.2.0-14.zncgsl7.63',
    'qemu-ui-gtk-8.2.0-14.zncgsl7.63',
    'qemu-ui-opengl-8.2.0-14.zncgsl7.63',
    'qemu-ui-spice-app-8.2.0-14.zncgsl7.63',
    'qemu-ui-spice-core-8.2.0-14.zncgsl7.63'
  ]
};
var pkg_list = pkgs[os_release];
var pkg;
foreach (pkg in pkg_list)
  if (rpm_check(reference:pkg, release:'ZTE ' + os_release, rpm_spec_vers_cmp:TRUE)) flag++;

if (flag)
{
  security_report_v4(
    port       : 0,
    severity   : SECURITY_WARNING,
    extra      : rpm_report_get()
  );
  exit(0);
}
else
{
  var tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'qemu');
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

21 Jan 2026 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 3.17.8 - 8.2
EPSS0.01261
SSVC
6