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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 04 Nov 2025 07:30:00 +0900


Mon, 09 Sep 2024 03:45:00 +0900

Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.4::el8

Tue, 20 Aug 2024 07:30:00 +0900

Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.4::el8

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2025-11-03T21:44:38.677Z

Reserved: 2021-01-08T00:00:00.000Z

Link: CVE-2021-23566

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-01-14T20:15:10.093

Modified: 2025-11-03T22:15:47.710

Link: CVE-2021-23566

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-01-21T00:00:00Z

Links: CVE-2021-23566 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses