Lucene search
+L

NewStart CGSL MAIN 6.02 : kernel Multiple Vulnerabilities (NS-SA-2024-0056)

🗓️ 10 Sep 2024 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 18 Views

NewStart CGSL MAIN 6.02 kernel has multiple vulnerabilities, including integer overflow, use-after-free, and wifi implementation flaws

Related
Refs
Code
ReporterTitlePublishedViews
Family
ubuntu
Ubuntu
LSN-0079-1: Kernel Live Patch Security Notice
26 Jul 202108:29
ubuntu
ubuntu
Ubuntu
LSN-0082-1: Kernel Live Patch Security Notice
11 Nov 202107:14
ubuntu
ubuntu
Ubuntu
LSN-0098-1: Kernel Live Patch Security Notice
10 Oct 202313:09
ubuntu
ubuntu
Ubuntu
LSN-0099-1: Kernel Live Patch Security Notice
28 Nov 202310:40
ubuntu
ubuntu
Ubuntu
USN-4387-1: Linux kernel vulnerabilities
10 Jun 202018:31
ubuntu
ubuntu
Ubuntu
USN-4388-1: Linux kernel vulnerabilities
9 Jun 202023:18
ubuntu
ubuntu
Ubuntu
USN-4389-1: Linux kernel vulnerabilities
10 Jun 202017:26
ubuntu
ubuntu
Ubuntu
USN-4390-1: Linux kernel vulnerabilities
11 Jun 202022:52
ubuntu
ubuntu
Ubuntu
USN-4391-1: Linux kernel vulnerabilities
11 Jun 202023:01
ubuntu
ubuntu
Ubuntu
USN-4748-1: Linux kernel vulnerabilities
25 Feb 202106:21
ubuntu
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from ZTE advisory NS-SA-2024-0056. The text
# itself is copyright (C) ZTE, Inc.
##

include('compat.inc');

if (description)
{
  script_id(206835);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/09/24");

  script_cve_id(
    "CVE-2020-12362",
    "CVE-2020-12464",
    "CVE-2020-24586",
    "CVE-2020-24587",
    "CVE-2020-24588",
    "CVE-2020-25670",
    "CVE-2020-25671",
    "CVE-2020-26139",
    "CVE-2020-26141",
    "CVE-2020-26143",
    "CVE-2020-26144",
    "CVE-2020-26145",
    "CVE-2020-26147",
    "CVE-2020-29660",
    "CVE-2020-36158",
    "CVE-2021-3564",
    "CVE-2021-3573",
    "CVE-2021-3600",
    "CVE-2021-3679",
    "CVE-2021-3732",
    "CVE-2021-20194",
    "CVE-2021-23134",
    "CVE-2021-28971",
    "CVE-2021-29650",
    "CVE-2021-31829",
    "CVE-2023-1206",
    "CVE-2023-2860",
    "CVE-2023-3358",
    "CVE-2023-3609",
    "CVE-2023-3611",
    "CVE-2023-3776",
    "CVE-2023-3812",
    "CVE-2023-3863",
    "CVE-2023-4004",
    "CVE-2023-4132",
    "CVE-2023-4206",
    "CVE-2023-4207",
    "CVE-2023-4208",
    "CVE-2023-4387",
    "CVE-2023-4459",
    "CVE-2023-4622",
    "CVE-2023-4921",
    "CVE-2023-35827",
    "CVE-2023-39193",
    "CVE-2023-40283"
  );

  script_name(english:"NewStart CGSL MAIN 6.02 : kernel Multiple Vulnerabilities (NS-SA-2024-0056)");

  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 6.02, has kernel packages installed that are affected by multiple
vulnerabilities:

  - A use-after-free vulnerability in the Linux kernel's net/sched: sch_qfq component can be exploited to
    achieve local privilege escalation. When the plug qdisc is used as a class of the qfq qdisc, sending
    network packets triggers use-after-free in qfq_dequeue() due to the incorrect .peek handler of sch_plug
    and lack of error checking in agg_dequeue(). We recommend upgrading past commit
    8fc134fee27f2263988ae38920bc03da416b03d8. (CVE-2023-4921)

  - mwifiex_cmd_802_11_ad_hoc_start in drivers/net/wireless/marvell/mwifiex/join.c in the Linux kernel through
    5.10.4 might allow remote attackers to execute arbitrary code via a long SSID value, aka CID-5c455c5ab332.
    (CVE-2020-36158)

  - Integer overflow in the firmware for some Intel(R) Graphics Drivers for Windows * before version
    26.20.100.7212 and before Linux kernel version 5.5 may allow a privileged user to potentially enable an
    escalation of privilege via local access. (CVE-2020-12362)

  - usb_sg_cancel in drivers/usb/core/message.c in the Linux kernel before 5.6.8 has a use-after-free because
    a transfer occurs without a reference, aka CID-056ad39ee925. (CVE-2020-12464)

  - The 802.11 standard that underpins Wi-Fi Protected Access (WPA, WPA2, and WPA3) and Wired Equivalent
    Privacy (WEP) doesn't require that received fragments be cleared from memory after (re)connecting to a
    network. Under the right circumstances, when another device sends fragmented frames encrypted using WEP,
    CCMP, or GCMP, this can be abused to inject arbitrary network packets and/or exfiltrate user data.
    (CVE-2020-24586)

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-2024-0056");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-12362");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-12464");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-24586");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-24587");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-24588");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-25670");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-25671");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-26139");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-26141");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-26143");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-26144");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-26145");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-26147");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-29660");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-36158");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-3564");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-3573");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-3600");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-3679");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-3732");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-20194");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-23134");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-28971");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-29650");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-31829");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-1206");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-2860");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-3358");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-3609");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-3611");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-3776");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-3812");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-3863");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-4004");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-4132");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-4206");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-4207");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-4208");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-4387");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-4459");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-4622");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-4921");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-35827");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-39193");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-40283");
  script_set_attribute(attribute:"solution", value:
"Upgrade the vulnerable CGSL kernel 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:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-36158");
  script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2023-4921");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2020/04/29");
  script_set_attribute(attribute:"patch_publication_date", value:"2024/09/03");
  script_set_attribute(attribute:"plugin_publication_date", value:"2024/09/10");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:bpftool");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:kernel");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:kernel-core");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:kernel-devel");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:kernel-headers");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:kernel-modules");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:kernel-modules-extra");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:kernel-tools");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:kernel-tools-libs");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:perf");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:python3-perf");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:zte:cgsl_main:6");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

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

  script_copyright(english:"This script is Copyright (C) 2024-2025 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\s6\.02")
  audit(AUDIT_OS_NOT, 'NewStart CGSL MAIN 6.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 6.02': [
    'bpftool-4.18.0-193.14.2.el8_2.cgslv6_2.907.g0f83724e5',
    'kernel-4.18.0-193.14.2.el8_2.cgslv6_2.907.g0f83724e5',
    'kernel-core-4.18.0-193.14.2.el8_2.cgslv6_2.907.g0f83724e5',
    'kernel-devel-4.18.0-193.14.2.el8_2.cgslv6_2.907.g0f83724e5',
    'kernel-headers-4.18.0-193.14.2.el8_2.cgslv6_2.907.g0f83724e5',
    'kernel-modules-4.18.0-193.14.2.el8_2.cgslv6_2.907.g0f83724e5',
    'kernel-modules-extra-4.18.0-193.14.2.el8_2.cgslv6_2.907.g0f83724e5',
    'kernel-tools-4.18.0-193.14.2.el8_2.cgslv6_2.907.g0f83724e5',
    'kernel-tools-libs-4.18.0-193.14.2.el8_2.cgslv6_2.907.g0f83724e5',
    'perf-4.18.0-193.14.2.el8_2.cgslv6_2.907.g0f83724e5',
    'python3-perf-4.18.0-193.14.2.el8_2.cgslv6_2.907.g0f83724e5'
  ]
};
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_HOLE,
    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, 'kernel');
}

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

24 Sep 2025 00:00Current
7.9High risk
Vulners AI Score7.9
CVSS 27.2
CVSS 3.17.8 - 8.8
EPSS0.07604
SSVC
18