Lucene search
+L

NewStart CGSL MAIN 7.02 : golang Multiple Vulnerabilities (NS-SA-2026-0090)

๐Ÿ—“๏ธย 08 Sep 2026ย 00:00:00Reported byย TenableTypeย 
nessus
ย nessus
๐Ÿ”—ย www.tenable.com๐Ÿ‘ย 7ย Views

Multiple golang vulnerabilities in NewStart CGSL 7.02 enabling code execution and DoS.

Related
Refs
Code
ReporterTitlePublishedViews
Family
osv
OSV
CGA-244J-PPH5-M5PG
10 Apr 202622:07
โ€“osv
osv
OSV
CGA-244M-RQ63-W3HW
9 May 202613:55
โ€“osv
osv
OSV
CGA-244P-XP45-9J84
10 Feb 202612:43
โ€“osv
osv
OSV
CGA-244R-J999-5MFV
10 Apr 202623:35
โ€“osv
osv
OSV
CGA-244W-5RC5-334X
8 May 202623:54
โ€“osv
osv
OSV
CGA-2455-CXM6-5CR6
11 Apr 202600:18
โ€“osv
osv
OSV
CGA-2456-QHP6-783C
9 May 202601:15
โ€“osv
osv
OSV
CGA-2457-8M49-VQ68
10 Feb 202613:09
โ€“osv
osv
OSV
CGA-245C-4556-HCQ6
8 May 202623:44
โ€“osv
osv
OSV
CGA-245G-7G26-JP7F
10 May 202612:37
โ€“osv
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-2026-0090. The text
# itself is copyright (C) ZTE, Inc.
##

include('compat.inc');

if (description)
{
  script_id(343587);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/09/08");

  script_cve_id(
    "CVE-2025-4674",
    "CVE-2025-61726",
    "CVE-2025-61729",
    "CVE-2025-61731",
    "CVE-2025-61732",
    "CVE-2026-27140",
    "CVE-2026-32280",
    "CVE-2026-33811",
    "CVE-2026-39820",
    "CVE-2026-42499",
    "CVE-2026-42501"
  );
  script_xref(name:"IAVB", value:"2025-B-0108-S");
  script_xref(name:"IAVB", value:"2025-B-0194-S");
  script_xref(name:"IAVB", value:"2026-B-0016-S");
  script_xref(name:"IAVB", value:"2026-B-0040-S");
  script_xref(name:"IAVB", value:"2026-B-0089-S");
  script_xref(name:"IAVB", value:"2026-B-0120");

  script_name(english:"NewStart CGSL MAIN 7.02 : golang Multiple Vulnerabilities (NS-SA-2026-0090)");

  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 golang packages installed that are affected by multiple
vulnerabilities:

  - SWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary code
    execution at build time due to trust layer bypass. (CVE-2026-27140)

  - The go command may execute unexpected commands when operating in untrusted VCS repositories. This occurs
    when possibly dangerous VCS configuration is present in repositories. This can happen when a repository
    was fetched via one VCS (e.g. Git), but contains metadata for another VCS (e.g. Mercurial). Modules which
    are retrieved using the go command line, i.e. via go get, are not affected. (CVE-2025-4674)

  - The net/url package does not set a limit on the number of query parameters in a query. While the maximum
    size of query parameters in URLs is generally limited by the maximum request header size, the
    net/http.Request.ParseForm method can parse large URL-encoded forms. Parsing a large form containing many
    unique query parameters can cause excessive memory consumption. (CVE-2025-61726)

  - Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts
    that will be printed out. Furthermore, the error string is constructed by repeated string concatenation,
    leading to quadratic runtime. Therefore, a certificate provided by a malicious actor can result in
    excessive resource consumption. (CVE-2025-61729)

  - Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with
    partial control of the file content. The #cgo pkg-config: directive in a Go source file provides
    command-line arguments to provide to the Go pkg-config command. An attacker can provide a --log-file
    argument to this directive, causing pkg-config to write to an attacker-controlled location.
    (CVE-2025-61731)

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-2026-0090");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2025-4674");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2025-61726");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2025-61729");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2025-61731");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2025-61732");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2026-27140");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2026-32280");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2026-33811");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2026-39820");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2026-42499");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2026-42501");
  script_set_attribute(attribute:"solution", value:
"Upgrade the vulnerable CGSL golang 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:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-27140");

  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:"2025/07/10");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/09/07");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/09/08");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:golang");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:golang-bin");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:golang-docs");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:golang-misc");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:golang-shared");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:golang-src");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:golang-tests");
  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) 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': [
    'golang-1.21.10-2.zncgsl7.29',
    'golang-bin-1.21.10-2.zncgsl7.29',
    'golang-docs-1.21.10-2.zncgsl7.29',
    'golang-misc-1.21.10-2.zncgsl7.29',
    'golang-shared-1.21.10-2.zncgsl7.29',
    'golang-src-1.21.10-2.zncgsl7.29',
    'golang-tests-1.21.10-2.zncgsl7.29'
  ]
};
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, 'golang');
}

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

08 Sep 2026 00:00Current
CVSS 3.18.8 - 9
EPSS0.02128
SSVC
7