Lucene search
+L

NewStart CGSL MAIN 6.06 : glibc Multiple Vulnerabilities (NS-SA-2025-0229)

🗓️ 30 Sep 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 4 Views

NewStart CGSL MAIN 6.06 glibc has multiple vulnerabilities incl use-after-free, RPATH issue, iconv DoS, idna nfkc DoS.

Related
Refs
Code
ReporterTitlePublishedViews
Family
0day.today
glibc ld.so - Memory Leak / Buffer Overflow Vulnerability
14 Dec 201700:00
zdt
0day.today
glibc 2.27 #GNU - Local Buffer Overflow Exploit
24 May 201800:00
zdt
0day.today
glibc - realpath() Privilege Escalation Exploit
13 Jun 201800:00
zdt
Oracle linux
glibc security, bug fix, and enhancement update
16 Apr 201800:00
oraclelinux
Oracle linux
glibc security and bug fix update
25 Jun 201800:00
oraclelinux
Oracle linux
glibc security, bug fix, and enhancement update
5 Nov 201800:00
oraclelinux
Oracle linux
glibc security update
18 Apr 201800:00
oraclelinux
Oracle linux
glibc security update
28 Jun 201800:00
oraclelinux
Oracle linux
glibc security update
6 Nov 201800:00
oraclelinux
Oracle linux
glibc security, bug fix, and enhancement update
10 Nov 202000:00
oraclelinux
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-2025-0229. The text
# itself is copyright (C) ZTE, Inc.
##

include('compat.inc');

if (description)
{
  script_id(266254);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/09/30");

  script_cve_id(
    "CVE-2016-6261",
    "CVE-2016-6263",
    "CVE-2016-10228",
    "CVE-2017-14062",
    "CVE-2017-15670",
    "CVE-2017-15804",
    "CVE-2017-16997",
    "CVE-2017-17426",
    "CVE-2017-18269",
    "CVE-2017-1000408",
    "CVE-2017-1000409",
    "CVE-2018-11236",
    "CVE-2018-11237",
    "CVE-2018-19591",
    "CVE-2018-1000001",
    "CVE-2019-9169",
    "CVE-2019-25013",
    "CVE-2020-1751",
    "CVE-2020-10029",
    "CVE-2020-27618",
    "CVE-2021-3326",
    "CVE-2021-27645",
    "CVE-2021-33574",
    "CVE-2021-35942"
  );

  script_name(english:"NewStart CGSL MAIN 6.06 : glibc Multiple Vulnerabilities (NS-SA-2025-0229)");

  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.06, has glibc packages installed that are affected by multiple
vulnerabilities:

  - The mq_notify function in the GNU C Library (aka glibc) versions 2.32 and 2.33 has a use-after-free. It
    may use the notification thread attributes object (passed through its struct sigevent parameter) after it
    has been freed by the caller, leading to a denial of service (application crash) or possibly unspecified
    other impact. (CVE-2021-33574)

  - elf/dl-load.c in the GNU C Library (aka glibc or libc6) 2.19 through 2.26 mishandles RPATH and RUNPATH
    containing $ORIGIN for a privileged (setuid or AT_SECURE) program, which allows local users to gain
    privileges via a Trojan horse library in the current working directory, related to the fillin_rpath and
    decompose_rpath functions. This is associated with misinterpretion of an empty RPATH/RUNPATH token as the
    ./ directory. NOTE: this configuration of RPATH/RUNPATH for a privileged program is apparently very
    uncommon; most likely, no such program is shipped with any common Linux distribution. (CVE-2017-16997)

  - The iconv program in the GNU C Library (aka glibc or libc6) 2.31 and earlier, when invoked with multiple
    suffixes in the destination encoding (TRANSLATE or IGNORE) along with the -c option, enters an infinite
    loop when processing invalid multi-byte input sequences, leading to a denial of service. (CVE-2016-10228)

  - The idna_to_ascii_4i function in lib/idna.c in libidn before 1.33 allows context-dependent attackers to
    cause a denial of service (out-of-bounds read and crash) via 64 bytes of input. (CVE-2016-6261)

  - The stringprep_utf8_nfkc_normalize function in lib/nfkc.c in libidn before 1.33 allows context-dependent
    attackers to cause a denial of service (out-of-bounds read and crash) via crafted UTF-8 data.
    (CVE-2016-6263)

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-0229");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-10228");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-6261");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-6263");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-1000408");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-1000409");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-14062");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-15670");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-15804");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-16997");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-17426");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-18269");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2018-1000001");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2018-11236");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2018-11237");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2018-19591");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2019-25013");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2019-9169");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-10029");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-1751");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2020-27618");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-27645");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-3326");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-33574");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-35942");
  script_set_attribute(attribute:"solution", value:
"Upgrade the vulnerable CGSL glibc packages. Note that updated packages may not be available yet. Please contact ZTE for
more information.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-16997");
  script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2021-33574");

  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:"2016/07/20");
  script_set_attribute(attribute:"patch_publication_date", value:"2025/09/30");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/09/30");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:compat-libpthread-nonshared");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:glibc");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:glibc-all-langpacks");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:glibc-common");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:glibc-devel");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:glibc-gconv-extra");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:glibc-headers");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:glibc-langpack-en");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:glibc-langpack-zh");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:glibc-locale-source");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:glibc-minimal-langpack");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:libnsl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:nss_db");
  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) 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\.06")
  audit(AUDIT_OS_NOT, 'NewStart CGSL MAIN 6.06');

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.06': [
    'compat-libpthread-nonshared-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'glibc-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'glibc-all-langpacks-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'glibc-common-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'glibc-devel-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'glibc-gconv-extra-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'glibc-headers-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'glibc-langpack-en-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'glibc-langpack-zh-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'glibc-locale-source-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'glibc-minimal-langpack-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'libnsl-2.28-189.5.0.1.zncgsl6_6.t1.0',
    'nss_db-2.28-189.5.0.1.zncgsl6_6.t1.0'
  ]
};
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, 'glibc');
}

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

30 Sep 2025 00:00Current
6.6Medium risk
Vulners AI Score6.6
CVSS 29.3
CVSS 39.8
CVSS 3.19.1 - 9.8
EPSS0.13368
SSVC
4