Lucene search
+L

EulerOS 2.0 SP15 : golang (EulerOS-SA-2026-2885)

🗓️ 06 Aug 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 5 Views

EulerOS golang vulnerabilities include meta tag scripting, unsafe pack extraction, query leakage, cgo smuggling, address parsing exhaustion, and checksum bypass.

Related
Refs
Code
ReporterTitlePublishedViews
Family
osv
OSV
MINI-2V97-MJ55-35PC
18 Apr 202617:16
osv
osv
OSV
MINI-2VF4-2P73-HHHW
11 May 202614:00
osv
osv
OSV
MINI-2VF5-HFG5-8Q6C
12 Apr 202602:18
osv
osv
OSV
MINI-2VF6-VWVG-VX63
13 Mar 202610:46
osv
osv
OSV
MINI-2VH5-XWRH-JQ8P
11 May 202619:32
osv
osv
OSV
MINI-2VH7-5883-P8R3
17 May 202612:30
osv
osv
OSV
MINI-2VHJ-VJ2H-QX66
11 May 202618:30
osv
osv
OSV
MINI-2VM7-2HC6-4XWX
11 May 202619:32
osv
osv
OSV
MINI-2VMR-866C-MCJH
11 May 202619:15
osv
osv
OSV
MINI-2VPF-M242-7W5J
11 May 202619:32
osv
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

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

  script_cve_id(
    "CVE-2025-61732",
    "CVE-2026-27140",
    "CVE-2026-27143",
    "CVE-2026-27144",
    "CVE-2026-32280",
    "CVE-2026-32283",
    "CVE-2026-32288",
    "CVE-2026-33811",
    "CVE-2026-33814",
    "CVE-2026-39817",
    "CVE-2026-39819",
    "CVE-2026-39820",
    "CVE-2026-39823",
    "CVE-2026-39825",
    "CVE-2026-39826",
    "CVE-2026-39836",
    "CVE-2026-42499",
    "CVE-2026-42501"
  );

  script_name(english:"EulerOS 2.0 SP15 : golang (EulerOS-SA-2026-2885)");

  script_set_attribute(attribute:"synopsis", value:
"The remote EulerOS host is missing multiple security updates.");
  script_set_attribute(attribute:"description", value:
"According to the versions of the golang packages installed, the EulerOS installation on the remote host is affected by
the following vulnerabilities :

    CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a meta tag's
    content attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of
    the content attribute, the escaper would fail to similarly escape it, leading to
    XSS.(CVE-2026-39823)

    The 'go tool pack' subcommand (usually used only by the compiler as an internal tool with known-good
    inputs) does not sanitize output filenames. Extracting a malicious archive file with the 'pack' subcommand
    can write files to arbitrary locations on the filesystem.(CVE-2026-39817)

    ReverseProxy can forward queries containing parameters not visible to Rewrite functions. When used with a
    Rewrite function, or a Director function which parses query parameters, ReverseProxy sanitizes the
    forwarded request to remove query parameters which are not parsed by url.ParseQuery. ReverseProxy does not
    take ParseQuery's limit on the total number of query parameters (controlled by
    GODEBUG=urlmaxqueryparams=N) into account. This can permit ReverseProxy to forward a request containing a
    query parameter that is not visible to the Rewrite function. For example, the query
    'a1=xa2=x...a10000=xhidden=y' can forward the parameter 'hidden=y' while hiding it from the
    proxy's Rewrite function.(CVE-2026-39825)

    A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting
    cgo binary.(CVE-2025-61732)

    Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive
    CPU exhaustion and memory allocations.(CVE-2026-39820)

    A malicious module proxy can exploit a flaw in the go command's validation of module checksums to bypass
    checksum database validation. This vulnerability affects any user using an untrusted module proxy
    (GOMODPROXY) or checksum database (GOSUMDB). A malicious module proxy can serve altered versions of the Go
    toolchain. When selecting a different version of the Go toolchain than the currently installed toolchain
    (due to the GOTOOLCHAIN environment variable, or a go.work or go.mod with a toolchain line), the go
    command will download and execute a toolchain provided by the module proxy. A malicious module proxy can
    bypass checksum database validation for this downloaded toolchain. Since this vulnerability affects the
    security of toolchain downloads, setting GOTOOLCHAIN to a fixed version is not sufficient. You must
    upgrade your base Go toolchain. The go tool always validates the hash of a toolchain before executing it,
    so fixed versions will refuse to execute any cached, altered versions of the toolchain. The go tool trusts
    go.sum files to contain accurate hashes of the current module's dependencies. A malicious proxy exploiting
    this vulnerability to serve an altered module will have caused an incorrect hash to be recorded in the
    go.sum. Users who have configured a non-trusted GOPROXY can determine if they have been affected by
    running 'rm go.sum ; go mod tidy ; go mod verify', which will revalidate all dependencies of the current
    module. The specific flaw in more detail: The go command consults the checksum database to validate
    downloaded modules, when a module is not listed in the go.sum file. It verifies that the module hash
    reported by the checksum database matches the hash of the downloaded module. If, however, the checksum
    database returns a successful response that contains no entry for the module, the go command incorrectly
    permitted validation to succeed. A module proxy may mirror or proxy the checksum database, in which case
    the go command will not connect to the checksum database directly. Checksums reported by the checksum
    database are cryptographically signed, so a malicious proxy cannot alter the reported checksum for a
    module. However, a proxy which returns an empty checksum response, or a checksum response for an unrelated
    module, could cause the go command to proceed as if a downloaded module has been
    validated.(CVE-2026-42501)

    If a trusted template author were to write a script tag containing an empty 'type' attribute or a
    'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data
    passed into the script block.(CVE-2026-39826)

    When processing HTTP/2 SETTINGS frames, transport will enter an infinite loop of writing CONTINUATION
    frames if it receives a SETTINGS_MAX_FRAME_SIZE with a value of 0.(CVE-2026-33814)

    Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC
    5322.(CVE-2026-42499)

    The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL
    (0).(CVE-2026-39836)

    The 'go bug' command writes to two files with predictable names in the system temporary directory (for
    example, '/tmp'). An attacker with access to the temporary directory can create a symlink in one of these
    names, causing 'go bug' to overwrite the target of the symlink.(CVE-2026-39819)

    When using LookupCNAME with the cgo DNS resolver, a very long CNAME response can trigger a double-free of
    C memory and a crash.(CVE-2026-33811)

    The compiler is meant to unwrap pointers which are the operands of a memory move; a no-op interface
    conversion prevented the compiler from making the correct determination about non-overlapping moves,
    potentially leading to memory corruption at runtime.(CVE-2026-27144)

    If one side of the TLS connection sends multiple key update messages post-handshake in a single record,
    the connection can deadlock, causing uncontrolled consumption of resources. This can lead to a denial of
    service. This only affects TLS 1.3.(CVE-2026-32283)

    During chain building, the amount of work that is done is not correctly limited when a large number of
    intermediate certificates are passed in VerifyOptions.Intermediates, which can lead to a denial of
    service. This affects both direct users of crypto/x509 and users of crypto/tls.(CVE-2026-32280)

    Arithmetic over induction variables in loops were not correctly checked for underflow or overflow. As a
    result, the compiler would allow for invalid indexing to occur at runtime, potentially leading to memory
    corruption.(CVE-2026-27143)

    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)

    tar.Reader can allocate an unbounded amount of memory when reading a maliciously-crafted archive
    containing a large number of sparse regions encoded in the 'old GNU sparse map' format.(CVE-2026-32288)

Tenable has extracted the preceding description block directly from the EulerOS golang security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2026-2885
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?0210e936");
  script_set_attribute(attribute:"solution", value:
"Update the affected golang packages.");
  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:N/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-27143");

  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:"2026/02/05");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/08/06");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/08/06");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:golang");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:golang-devel");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:golang-help");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:huawei:euleros:2.0");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Huawei 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_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/EulerOS/release", "Host/EulerOS/rpm-list", "Host/EulerOS/sp");
  script_exclude_keys("Host/EulerOS/uvp_version");

  exit(0);
}

include("rpm.inc");

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

var _release = get_kb_item("Host/EulerOS/release");
if (isnull(_release) || _release !~ "^EulerOS") audit(AUDIT_OS_NOT, "EulerOS");
var uvp = get_kb_item("Host/EulerOS/uvp_version");
if (_release !~ "^EulerOS release 2\.0(\D|$)") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP15");

var sp = get_kb_item("Host/EulerOS/sp");
if (isnull(sp) || sp !~ "^(15)$") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP15");

if (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, "EulerOS 2.0 SP15", "EulerOS UVP " + uvp);

if (!get_kb_item("Host/EulerOS/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$" && "aarch64" >!< cpu && "x86" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "EulerOS", cpu);
if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "x86" >!< cpu) audit(AUDIT_ARCH_NOT, "i686 / x86_64", cpu);

var flag = 0;

var pkgs = [
  "golang-1.21.4-28.h21510.26.eulerosv2r15",
  "golang-devel-1.21.4-28.h21510.26.eulerosv2r15",
  "golang-help-1.21.4-28.h21510.26.eulerosv2r15"
];

foreach (var pkg in pkgs)
  if (rpm_check(release:"EulerOS-2.0", sp:"15", reference:pkg)) 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

06 Aug 2026 00:00Current
8.3High risk
Vulners AI Score8.3
CVSS 3.19.8
EPSS0.00813
SSVC
5