CVE-2021-23566

Medium

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.

SeverityMedium
CVSS4.0
Exploit probability—
ProductNanoid
PublishedJan 14, 2022
First seenJan 14, 2022

How to fix

Update
  • nanoid_project nanoid3.1.31 or later
  • nanoid3.1.31 or later

Affected products

ProductAffected versionsFixed in
nanoid_project nanoid3.0.0 ≤ v < 3.1.313.1.31
nanoidnpm3.0.0 ≤ v < 3.1.313.1.31

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.