CVE-2021-23566

Information Exposure

Published Jan 14, 2022 CVSS 3.1 · 4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4003-1 node-postcss security update
Debian DLA Debian DLA DLA-4013-1 node-mocha security update
EUVD EUVD EUVD-2022-0677 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.
Github GHSA Github GHSA GHSA-qrpm-p2h7-hrv2 Exposure of Sensitive Information to an Unauthorized Actor in nanoid
Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Nov 3, 2025, 9:44 PM
Reserved
Jan 8, 2021, 12:00 AM
Status
Modified
Published
Jan 14, 2022, 8:15 PM
Modified
Jun 17, 2026, 3:38 AM
Severity
Moderate
Public date
Jan 21, 2022, 12:00 AM