CVEvulnerability

CVE-2021-23566

5.5 MEDIUM Published 2022-01-14 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-01-14
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
4.0 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0 ([email protected])
2.1 LOW — AV:L/AC:L/Au:N/C:P/I:N/A:N
Weaknesses
CWE-704

Description

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.

Affected configurations

• nanoid project nanoid (>= 3.0.0 < 3.1.31)

Related

Weakness · CWE (1)

  • CWE-704 Incorrect Type Conversion or Cast weakness

References