EulerOS 2.0 SP13 : golang (EulerOS-SA-2026-2967)
| Reporter | Title | Published | Views | Family All 16941 |
|---|---|---|---|---|
| MINI-2X3C-FHQC-4F6Q | 11 May 202605:45 | – | osv | |
| MINI-2X4P-G63F-7PCG | 11 Apr 202620:47 | – | osv | |
| MINI-2X56-R34J-VPWH | 11 May 202623:18 | – | osv | |
| MINI-2X69-7FQX-774J | 10 May 202619:46 | – | osv | |
| MINI-2X6J-Q92V-5R57 | 11 May 202619:32 | – | osv | |
| MINI-2X7P-GG7M-8248 | 11 May 202609:46 | – | osv | |
| MINI-2X9R-232V-MH5C | 10 Mar 202615:00 | – | osv | |
| MINI-2XFR-3G88-VP53 | 10 May 202613:45 | – | osv | |
| MINI-2XG4-GQC9-4JPH | 11 May 202614:00 | – | osv | |
| MINI-2XG9-53W3-MPC6 | 11 May 202619:02 | – | osv |
10
10
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(332908);
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-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_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:"EulerOS 2.0 SP13 : golang (EulerOS-SA-2026-2967)");
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 :
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC
5322.(CVE-2026-42499)
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)
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)
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)
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)
Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive
CPU exhaustion and memory allocations.(CVE-2026-39820)
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 '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)
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)
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)
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)
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-2967
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d98f5143");
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: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:"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_set_attribute(attribute:"stig_severity", value:"I");
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 SP13");
var sp = get_kb_item("Host/EulerOS/sp");
if (isnull(sp) || sp !~ "^(13)$") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP13");
if (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, "EulerOS 2.0 SP13", "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-8.h130.eulerosv2r13",
"golang-devel-1.21.4-8.h130.eulerosv2r13",
"golang-help-1.21.4-8.h130.eulerosv2r13"
];
foreach (var pkg in pkgs)
if (rpm_check(release:"EulerOS-2.0", sp:"13", 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
7.7High risk
Vulners AI Score7.7
CVSS 3.18.8 - 9
EPSS0.00813
SSVC