{"id":"DEBIAN-CVE-2021-23566","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.","modified":"2026-09-15T09:01:41.262950775Z","published":"2022-01-14T20:15:10.093Z","upstream":["CVE-2021-23566"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2021-23566"}],"affected":[{"package":{"name":"node-mocha","ecosystem":"Debian:12","purl":"pkg:deb/debian/node-mocha?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1.4+ds1+~cs28.2.8-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-23566.json"}},{"package":{"name":"node-mocha","ecosystem":"Debian:13","purl":"pkg:deb/debian/node-mocha?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1.4+ds1+~cs28.2.8-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-23566.json"}},{"package":{"name":"node-mocha","ecosystem":"Debian:14","purl":"pkg:deb/debian/node-mocha?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1.4+ds1+~cs28.2.8-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-23566.json"}},{"package":{"name":"node-postcss","ecosystem":"Debian:12","purl":"pkg:deb/debian/node-postcss?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.5+~cs7.1.51-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-23566.json"}},{"package":{"name":"node-postcss","ecosystem":"Debian:13","purl":"pkg:deb/debian/node-postcss?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.5+~cs7.1.51-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-23566.json"}},{"package":{"name":"node-postcss","ecosystem":"Debian:14","purl":"pkg:deb/debian/node-postcss?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.5+~cs7.1.51-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-23566.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}