Advisory

UBUNTU-CVE-2021-23566

Also known as: CVE-2021-23566

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2022-01-14 20:15 UTC
Modified
2026-10-17 12:57 UTC

Affected packages and fixes

14 affected packages; affected: introduced 0
PackageSystemFix
node-mochaDebian packages (deb) · Ubuntu 16.04No fixed version is listed.
node-mochaDebian packages (deb) · Ubuntu 18.04No fixed version is listed.
node-mochaDebian packages (deb) · Ubuntu 20.04No fixed version is listed.
node-postcssDebian packages (deb) · Ubuntu 20.04No fixed version is listed.
node-mochaDebian packages (deb) · Ubuntu 22.04No fixed version is listed.
node-postcssDebian packages (deb) · Ubuntu 22.04No fixed version is listed.
node-mochaDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
node-postcssDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
node-mochaDebian packages (deb) · Ubuntu 25.10No fixed version is listed.
node-postcssDebian packages (deb) · Ubuntu 25.10No fixed version is listed.
node-mochaDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
node-postcssDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
node-mochaDebian packages (deb) · Ubuntu 26.04No fixed version is listed.
node-postcssDebian packages (deb) · Ubuntu 26.04No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences