TencentOS Server 3: nodejs:22 (TSSA-2026:1567)
Multiple vulnerabilities in TencentOS Server 3 nodejs:22 cause DoS and memory exhaustion.
10
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Tencent Linux Security Advisory TSSA-2026:1567.
##
include('compat.inc');
if (description)
{
script_id(385720);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/11/24");
script_cve_id(
"CVE-2026-87018",
"CVE-2026-102276",
"CVE-2026-102278",
"CVE-2026-105482",
"CVE-2026-106069",
"CVE-2026-109383",
"CVE-2026-109829",
"CVE-2026-109869"
);
script_name(english:"TencentOS Server 3: nodejs:22 (TSSA-2026:1567)");
script_set_attribute(attribute:"synopsis", value:
"The remote TencentOS Server 3 host is missing one or more security updates.");
script_set_attribute(attribute:"description", value:
"The version of Tencent Linux installed on the remote TencentOS Server 3 host is prior to tested version. It is,
therefore, affected by multiple vulnerabilities as referenced in the TSSA-2026:1567 advisory.
Package updates are available for TencentOS Server 3 that fix the following vulnerabilities:
CVE-2026-87018:
undici is an HTTP client library for Node.js. In versions 4.2.1 through 6.29.0, 7.0.0 through 7.30.0, and
8.0.0 through 8.12.1, the client process crashes when a TLS 1.2 server renegotiates after the connection
is established and presents a different, CA-trusted certificate whose hostname does not match the
requested host. Node.js re-runs hostname verification on the renegotiated handshake and destroys the
socket with a certificate-altname error, but undici's established-socket error handler asserted that this
error code could never occur, so the peer-controlled error became an uncaught assertion that terminates
the Node.js process, affecting both the HTTP/1.1 and HTTP/2 paths. A malicious or compromised HTTPS
endpoint reached through undici or the global fetch() can crash the client with a single server-initiated
renegotiation, taking down all in-flight requests and background work in the process, and exploitation
needs no CA compromise because the attacker controls the endpoint and can present two ordinary valid
certificates. Only TLS 1.2 is affected, since TLS 1.3 does not support renegotiation. The issue is fixed
in undici 6.29.1, 7.30.1, and 8.12.2, and users should upgrade to one of those versions or later. As a
workaround, restrict outbound connections to TLS 1.3 so renegotiation cannot occur, when the target
endpoints support it.
CVE-2026-102276:
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to
1.1.19, 2.1.5, 3.0.7, and 5.0.10, crafted brace patterns can exhaust the native stack in parseCommaParts
because parseCommaParts recursively processes the remainder once per brace group and uses push.apply to
pass every element of a very large comma-part array as a function argument. Patterns containing many
comma-separated brace groups trigger the recursive path, while the large array triggers the argument-array
path without deep recursion. These paths cause recursive and argument-array native stack exhaustion before
max or maxLength can limit output, potentially terminating the Node.js process in a process-terminating
denial of service. This issue is fixed in versions 1.1.19, 2.1.5, 3.0.7, and 5.0.10.
CVE-2026-102278:
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to
1.1.20, 2.1.6, 3.0.8, and 5.0.11, deeply nested brace groups cause expand_() to recurse once per nesting
level at comma-member and single-set expansion sites, exhausting the native stack before output limits can
apply and potentially terminating the Node.js process. expand_ performs uncontrolled recursion for nested
brace alternatives and single-part sets. deeply nested brace groups supplied as an untrusted pattern.
expand_ is affected. expand is affected. Comma members is affected. Single set is affected. native stack
exhaustion during nested sub-expansion. process-terminating denial of service. This issue is fixed in
versions 1.1.20, 2.1.6, 3.0.8, and 5.0.11.
CVE-2026-105482:
A flaw in Node.js DNS resolution allows hostnames containing a NUL byte to be silently truncated by the
dns.resolve*() functions and dns.reverse(). This is an incomplete fix of CVE-2026-48930, which only
covered dns.lookup() and the net/tls host options.
Because the name is passed to c-ares as a C string, resolving attacker.example\0.trusted.example queries
attacker.example and returns its records without any error. Applications that validate a hostname, for
example against a domain allowlist, and then resolve it with dns.resolve*() can act on records for a
different name than the one they validated.
This vulnerability affects Node.js 26.x, 24.x, and 22.x.
CVE-2026-106069:
A flaw in Node.js TLS hostname verification can cause a server certificate to be validated against a
different IP address than the one the client connected to, when the host is a non-canonical IPv4 literal
with a leading zero, such as 0127.0.0.1.
tls.checkServerIdentity() normalizes the host following the WHATWG URL rules, which read a leading-zero
octet as octal (0127.0.0.1 becomes 87.0.0.1), while the connection is made through the operating system
resolver, which on some platforms such as macOS reads it as decimal (127.0.0.1). A server at the connected
address can then be authenticated with a certificate issued for another IP address.
This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.
CVE-2026-109383:
undici is an HTTP client library for Node.js. In versions 4.0.0 through 6.29.0, 7.0.0 through 7.30.0, and
8.0.0 through 8.12.1, its Agent dispatcher passes its constructor options through a JSON-based deep clone
before forwarding them to each per-origin pool, and because JSON cannot represent functions, a caller-
supplied tls option containing a checkServerIdentity callback is silently dropped before it reaches the
TLS layer. As a result, a TLS peer whose certificate a custom checkServerIdentity was written to reject,
but which passes Node's default hostname and chain checks, is silently accepted. Because Agent is the
default dispatcher behind request, fetch, and setGlobalDispatcher, this affects the path most applications
use, and EnvHttpProxyAgent is affected on its direct and no-proxy routes as well, while only applications
that pass a function-valued tls option such as a custom checkServerIdentity for certificate or public-key
pinning are at risk. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, which preserve the tls
option outside the JSON clone so custom verification callbacks are forwarded unchanged, and users should
upgrade to one of those versions or later. As a workaround, pass the TLS options through connect instead
of tls, or for proxied destinations use requestTls and proxyTls.
CVE-2026-109829:
undici is an HTTP client library for Node.js. In versions 7.0.0 through 7.30.0 and 8.0.0 through 8.12.1,
when an originless Agent composes the redirect and cache interceptors in that order with a shared cache
store, the cache builds its key from the original request URL before the redirect handler changes the
origin, so a response produced after a cross-origin redirect is stored under the original key. An attacker
who controls the target of a redirect from a trusted URL can have their response cached under that trusted
URL and served to later callers, allowing persistent cache poisoning, and the same key confusion lets a
private, non-stored redirect response to a user-specific resource be stored under the original URL and
served to a later unauthenticated caller, disclosing private data. Applications are affected only when an
originless Agent, a shared cache store, and the redirect-then-cache composition are all used. The issue is
fixed in undici 7.30.1 and 8.12.2, which verify the producing origin still matches the cache key and
preserve each redirect hop's cache-control policy before storing, and users should upgrade to one of those
versions or later. As a workaround, compose the cache interceptor before the redirect interceptor, use
per-origin dispatchers and cache stores, or disable shared caching on redirect-capable requests.
CVE-2026-109869:
undici is an HTTP client library for Node.js. In versions 6.23.0 through 6.29.0, 7.18.0 through 7.30.0,
and 8.0.0 through 8.12.1, its fetch() implementation crashes the Node.js process when a malicious server
returns a response with more than five content codings and closes the connection before sending the body.
undici rejects such responses because of a content-encoding limit, but it created the internal response
stream before that check and returned without attaching an error listener or aborting the request, so the
early close surfaces a content-length mismatch on the orphaned stream, which Node.js treats as an
unhandled error and terminates the process. A remote, unauthenticated server can trigger this with a
single response, even when the application correctly catches the fetch() rejection, resulting in a denial
of service. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, and users should upgrade to one of
those versions or later. There is no workaround.
Tenable has extracted the preceding description block directly from the Tencent 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:"https://mirrors.tencent.com/tlinux/errata/tssa-20261567.xml");
script_set_attribute(attribute:"solution", value:
"Update the affected packages.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/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:N/S:U/C:H/I:H/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-109829");
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/09/28");
script_set_attribute(attribute:"patch_publication_date", value:"2026/11/11");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/11/24");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:tencent:tencentos_server:3");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:tencent:tencentos_server:nodejs");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:tencent:tencentos_server:nodejs-nodemon");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Tencent 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/etc/os-release", "Host/TencentOS/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) || 'TencentOS' >!< os_product) audit(AUDIT_OS_NOT, 'TencentOS');
var os_version = get_kb_item('installed_os/local/SSH/0/version');
if (isnull(os_version)) audit(AUDIT_UNKNOWN_APP_VER, 'TencentOS');
if (! preg(pattern:"^3([^0-9]|$)", string:os_version)) audit(AUDIT_OS_NOT, 'TencentOS 3.x', 'TencentOS ' + os_version);
if (!get_kb_item('Host/TencentOS/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$" && 's390' >!< cpu && 'aarch64' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'TencentOS', cpu);
var constraints = [
{
'release': '3',
'pkgs': [
{'reference':'nodejs-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-debuginfo-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-debuginfo-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-debugsource-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-debugsource-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-devel-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-devel-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-docs-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-full-i18n-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-full-i18n-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-libs-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-libs-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-libs-debuginfo-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-libs-debuginfo-22.23.4-2.module+el8.10.0+998+a2fdbb47', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'nodejs-nodemon-3.1.14-3.module+el8.10.0+998+a2fdbb47', 'rpm_spec_vers_cmp':TRUE},
{'reference':'npm-10.9.9-1.22.23.4.2.module+el8.10.0+998+a2fdbb47', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'npm-10.9.9-1.22.23.4.2.module+el8.10.0+998+a2fdbb47', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'1'},
{'reference':'v8-12.4-devel-12.4.254.21-1.22.23.4.2.module+el8.10.0+998+a2fdbb47', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'3'},
{'reference':'v8-12.4-devel-12.4.254.21-1.22.23.4.2.module+el8.10.0+998+a2fdbb47', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'3'}
]
}
];
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_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, 'nodejs / nodejs-debuginfo / nodejs-debugsource / 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
24 Nov 2026 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 3.17.5 - 9.1
CVSS 37.4
EPSS0.00491
SSVC