SCA: security update for nanoid (GHSA-qrpm-p2h7-hrv2)

medium Tenable Self-Hosted Container Security Plugin ID 418304

Description

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

- The package nanoid from 3.0.0 and before 3.1.31 are vulnerable to Information Exposure via the valueOf()
function which allows to reproduce the last id generated. (CVE-2021-23566)

See Also

https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Plugin Details

Severity: Medium

ID: 418304

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

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

CVSS Score Source: CVE-2021-23566

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/21/2022

Vulnerability Publication Date: 1/14/2022

Reference Information

CVE: CVE-2021-23566