Alibaba Cloud Linux 3 : 0328: golang (ALINUX3-SA-2026:0328)
10
10
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The package checks in this plugin were extracted from
# Alibaba Cloud Linux Security Advisory ALINUX3-SA-2026:0328.
##
include('compat.inc');
if (description)
{
script_id(373497);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/10/29");
script_cve_id(
"CVE-2026-32288",
"CVE-2026-32289",
"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",
"CVE-2026-56866",
"CVE-2026-78659",
"CVE-2026-78660",
"CVE-2026-78663",
"CVE-2026-78667",
"CVE-2026-78669",
"CVE-2026-94439",
"CVE-2026-94440",
"CVE-2026-94444",
"CVE-2026-94447",
"CVE-2026-94448",
"CVE-2026-97030",
"CVE-2026-97031",
"CVE-2026-97032",
"CVE-2026-111943"
);
script_name(english:"Alibaba Cloud Linux 3 : 0328: golang (ALINUX3-SA-2026:0328)");
script_set_attribute(attribute:"synopsis", value:
"The remote Alibaba Cloud Linux host is missing one or more security updates.");
script_set_attribute(attribute:"description", value:
"The remote Alibaba Cloud Linux 3 host has packages installed that are affected by multiple vulnerabilities as referenced
in the ALINUX3-SA-2026:0328 advisory.
Package updates are available for Alibaba Cloud Linux 3 that fix the following vulnerabilities:
CVE-2026-111943:
On most platforms, Go uses the given system root certificates. However, in some narrower cases, the system
trust stores may not be updated without further action. To defend against the narrower set of cases that
may remain affected, a denylist was added in crypto/x509 to return an error when calling Verify with any
of the known intermediate certificates that are no longer considered to be trustworthy.
CVE-2026-32288:
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-32289:
Context was not properly tracked across template branches for JS template literals, leading to possibly
incorrect escaping of content when branches were used. Additionally template actions within JS template
literals did not properly track the brace depth, leading to incorrect escaping being applied. These issues
could cause actions within JS template literals to be incorrectly or improperly escaped, leading to XSS
vulnerabilities.
CVE-2026-33811:
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-33814:
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-39817:
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-39819:
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-39820:
Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive
CPU exhaustion and memory allocations.
CVE-2026-39823:
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-39825:
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=x&a2=x&...&a10000=x&hidden=y can forward the parameter hidden=y while hiding it from the proxy's
Rewrite function.
CVE-2026-39826:
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-39836:
The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL (0).
CVE-2026-42499:
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC
5322.
CVE-2026-42501:
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-56866:
When http.Transport sends an HTTP/1 CONNECT request with a non-empty Request.Body, it writes the body
directly to the connection without framing after the request headers. If the server rejects the CONNECT
request with a non-2xx keep-alive response, Transport returns the connection to the idle pool. Because
CONNECT requests do not have a request body, the server may interpret the trailing body bytes as a
subsequent pipelined HTTP/1.1 request on the connection, leaving the pooled connection desynchronized and
causing the next caller that reuses it to read the response to the injected request. In reverse proxies
(including httputil.ReverseProxy) that forward CONNECT requests through a shared Transport, this can lead
to cross-user response poisoning.
CVE-2026-78659:
When Trailer headers are sent by a client, the HTTP server internally uses the header values to populate
the Request.Trailer map passed to the server handler. Because Request.Trailer is a map, each entry incurs
memory overhead. For HTTP/2 servers, a malicious client can exploit this by sending a Trailer header
that declares a large number of fields, causing the server to allocate a disproportionate amount of memory
while bypassing Server.MaxHeaderValueCount and Server.MaxHeaderBytes limits. This exploit is not
applicable for HTTP/1 servers, which do not support multiplexing a large number of requests over one TCP
connection, and whose Server.MaxHeaderBytes are calculated differently.
CVE-2026-78660:
Historically, we have been rather lax about malformed framing-related headers in our HTTP/2
implementation, as they cannot interfere with HTTP/2 framing. However, this makes it possible for our
HTTP/2 implementation to forward responses containing such headers to an HTTP/1 client when acting as a
reverse proxy. If the HTTP/1 client also does not behave strictly enough, this can result in response
smuggling.
CVE-2026-78663:
The HTTP/2 server can refund connection-level flow control twice for the same data: Once when a client
resets a stream (refunding data for any sent-but-unread portion of the stream), and again when a request
handler reads the buffered data. A malicious client can exploit this to bypass the configured connection-
level flow control limit (MaxReceiveBufferPerConnection). Total buffered data is still limited by the
concurrent stream limit and stream-level flow control.
CVE-2026-78667:
When parsing a Range header containing a large number of small ranges, FileServer(FS), ServeContent, and
ServeFile(FS) can consume an excessive amount of CPU.
CVE-2026-78669:
A malicious HTTP/2 peer can cause excessive CPU consumption in the client or server by opening a large
number of streams and then sending many small SETTINGS frames containing SETTINGS_INITIAL_WINDOW_SIZE
values.
CVE-2026-94439:
When an HTTP server handler sends a 2xx response to an HTTP/1 CONNECT request and returns without
hijacking the connection, the server improperly continues to read and serve requests from the connection.
Since a 2xx response to an HTTP/1 CONNECT converts the connection into a tunnel, the server should not
treat the connection as continuing to contain HTTP. The impact of this misbehavior is mostly limited to
potential request smuggling, where an intermediate proxy considers the data on the connection to be
tunneled and the server considers it to be HTTP.
CVE-2026-94440:
Parsing a multipart form can bypass memory limits and read an arbitrarily long line into memory when the
remaining limit at the start of a part is less than 400 bytes.
CVE-2026-94444:
Previously, a user operating inside of a malicious Go project that defines a bogus golang.org/fips140 and
operates a malicious GOMODPROXY the user chooses to connect to can serve an arbitrary module in its place.
We now unpack the trusted ziphash for the bundled golang.org/fips140 module and construct its entry in the
GOMODCACHE such that it can be verified by the toolchain.
CVE-2026-94447:
Previously, a user operating inside of a malicious Go project that defines a bogus golang.org/toolchain
go.sum entry and operates a malicious GOMODPROXY the user chooses to use can bypass the intended checksum.
We now ensure that golang.org/toolchain always goes to the network for the canonical checksum.
CVE-2026-94448:
When a JavaScript template literal contains consecutive expressions, the context tracking state was not
properly reset upon entering a new expression. We now ensure that template-literal expression entries
correctly reset context variables so all subsequent regular expression literals are accurately recognized
and escaped.
CVE-2026-97030:
A trusted template author may have previously written a valid template wherein the use of the 'yield'
keyword would not be correctly escaped. We now ensure that valid keyword uses are escaped and non-keyword
uses are not escaped.
CVE-2026-97031:
Multiple ECH outer extension references are not permitted under RFC 9849; previously, a client could send
a well-crafted packet that could trigger memory exhaustion in the server process by specifying multiple
references. We now reject these as malformed and curb the memory amplification vector as a result.
CVE-2026-97032:
HTTP/2 servers could end up crashing due to inadvertently modifying its HPACK encoder concurrently. This
happens because the server modifies the HPACK encoder from two goroutines without synchronization: one
uses the encoder to encode a HEADERS frame as part of a response sent to a client and the other modifies
the encoder's table size when handling a SETTINGS frame containing SETTINGS_HEADER_TABLE_SIZE that a
client sends. A malicious client can repeatedly send a request while changing the header table size to
crash the server.
Tenable has extracted the preceding description block directly from the Alibaba Cloud Linux security advisory.
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:"http://mirrors.aliyun.com/alinux/3/cve/alinux3-sa-20260328.xml");
script_set_attribute(attribute:"solution", value:
"Update the affected packages.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N");
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:C/C:L/I:L/A:N");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-32289");
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/04/07");
script_set_attribute(attribute:"patch_publication_date", value:"2026/10/28");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/10/29");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:go-toolset");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:golang");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:golang-bin");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:golang-docs");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:golang-misc");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:golang-race");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:golang-src");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:golang-tests");
script_set_attribute(attribute:"cpe", value:"cpe:/o:alibabacloud:alibaba_cloud_linux_3");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Alibaba Cloud Linux 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/Alibaba/release", "Host/Alibaba/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_product = get_kb_item('installed_os/local/SSH/0/product');
if (isnull(os_product) || 'Alibaba Cloud Linux' >!< os_product) audit(AUDIT_OS_NOT, 'Alibaba Cloud Linux');
var os_version = get_kb_item('installed_os/local/SSH/0/version');
if (isnull(os_version)) audit(AUDIT_UNKNOWN_APP_VER, 'Alibaba Cloud Linux');
if (! preg(pattern:"^3([^0-9]|$)", string:os_version)) audit(AUDIT_OS_NOT, 'Alibaba Cloud Linux 3.x', 'Alibaba Cloud Linux ' + os_version);
if (!get_kb_item('Host/Alibaba/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);
var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('aarch64' >!< cpu && 'x86_64' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'Alibaba Cloud Linux', cpu);
var constraints = [
{
'release': '3',
'pkgs': [
{'reference':'go-toolset-1.26.10-1.0.1.al8', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
{'reference':'go-toolset-1.26.10-1.0.1.al8', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
{'reference':'golang-1.26.10-1.0.1.al8', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
{'reference':'golang-1.26.10-1.0.1.al8', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
{'reference':'golang-bin-1.26.10-1.0.1.al8', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
{'reference':'golang-bin-1.26.10-1.0.1.al8', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
{'reference':'golang-docs-1.26.10-1.0.1.al8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
{'reference':'golang-misc-1.26.10-1.0.1.al8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
{'reference':'golang-race-1.26.10-1.0.1.al8', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
{'reference':'golang-race-1.26.10-1.0.1.al8', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
{'reference':'golang-src-1.26.10-1.0.1.al8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
{'reference':'golang-tests-1.26.10-1.0.1.al8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'}
]
}
];
var os_release = get_one_kb_item('installed_os/local/SSH/0/release');
var os_sp = get_one_kb_item('Host/*/minor_release');
var flag = 0;
var reference;
var sp;
var _cpu;
var el_string;
var rpm_spec_vers_cmp;
var epoch;
var allowmaj;
var exists_check;
var cves;
foreach var constraint ( constraints ) {
# Check that the target release is equal to the affected release
if (!empty_or_null(constraint['release'])){
if (constraint['release'] != os_release) continue;
}
if (!empty_or_null(constraint['sp'])){
if (constraint['sp'] != os_sp) continue;
}
foreach var pkg ( constraint['pkgs'] ) {
reference = NULL;
sp = NULL;
_cpu = NULL;
el_string = NULL;
rpm_spec_vers_cmp = NULL;
epoch = NULL;
allowmaj = NULL;
exists_check = NULL;
cves = NULL;
if (!empty_or_null(pkg['reference'])) reference = pkg['reference'];
if (!empty_or_null(pkg['sp'])) sp = pkg['sp'];
if (!empty_or_null(pkg['cpu'])) _cpu = pkg['cpu'];
if (!empty_or_null(pkg['el_string'])) el_string = pkg['el_string'];
if (!empty_or_null(pkg['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = pkg['rpm_spec_vers_cmp'];
if (!empty_or_null(pkg['epoch'])) epoch = pkg['epoch'];
if (!empty_or_null(pkg['allowmaj'])) allowmaj = pkg['allowmaj'];
if (!empty_or_null(pkg['exists_check'])) exists_check = pkg['exists_check'];
if (!empty_or_null(pkg['cves'])) cves = pkg['cves'];
if (reference &&
## (no known rpm to check OR known rpm_exists)
(!exists_check || rpm_exists(rpm:exists_check)) &&
rpm_check(sp:sp, cpu:_cpu, reference:reference, epoch:epoch, el_string:el_string, rpm_spec_vers_cmp:rpm_spec_vers_cmp, allowmaj:allowmaj, cves:cves)) flag++;
}
}
if (flag)
{
security_report_v4(
port : 0,
severity : SECURITY_WARNING,
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, 'go-toolset / golang / golang-bin / golang-docs / golang-misc / etc');
}
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
29 Oct 2026 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 3.17.5 - 9.1
EPSS0.00875
SSVC