SCA: security update for nanoid (GHSA-2v37-7h3g-55p8)

high Tenable Self-Hosted Container Security Plugin ID 445948

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- nanoid (Nano ID) before 5.1.6 contains an infinite loop in the customAlphabet and customRandom functions.
When these functions are configured with a size of 0, the internal generation loop never satisfies its
exit condition and spins indefinitely, hanging the calling thread. An application that passes an
unvalidated, attacker-controlled size of 0 to these functions is exposed to a denial-of-service condition.
(CVE-2026-67213)

Solution

Update the nanoid library and its related packages to version 3.3.18 or later.

See Also

https://github.com/advisories/GHSA-2v37-7h3g-55p8

Plugin Details

Severity: High

ID: 445948

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/13/2026

Updated: 8/13/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.74

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-67213

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.2

Threat Score: 4.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/29/2026

Vulnerability Publication Date: 7/29/2026

Reference Information

CVE: CVE-2026-67213

cwe: CWE-835