Read the docs
TI-2021-06142 Aliases CVE-2021-23451GHSA-6x93-h9g3-9phr

Insecure Randomness

Priority MEDIUM 44CWE-330Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

The package otp-generator before 3.0.0 are vulnerable to Insecure Randomness due to insecure generation of random one-time passwords, which may allow a brute-force attack.

Why it matters now

EPSS 0.00909 60th percentileScored 2026-11-07
Fix Fixed otp-generator: 3.0.0otp-generator (npm): 3.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—otp-generatorbefore 3.0.03.0.0Patch availableCNA
—otp-generator (npm)before 3.0.03.0.0Patch availableGHSA-6x93-h9g3-9phr
  • otp-generator Vendor— Affected before 3.0.0 Fixed in 3.0.0 Patch available CNA
  • otp-generator (npm) Vendor— Affected before 3.0.0 Fixed in 3.0.0 Patch available GHSA-6x93-h9g3-9phr

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:otp-generator_project:otp-generator:*:*:*:*:*:node.js:*:*before 3.0.0VulnerableOtp-generator Project
  • cpe:2.3:a:otp-generator_project:otp-generator:*:*:*:*:*:node.js:*:* Versions before 3.0.0 Vulnerable ·Otp-generator Project

Remediation

  • Fix · CNA otp-generator Fixed in 3.0.0
  • Fix · GHSA-6x93-h9g3-9phr otp-generator (npm) Fixed in 3.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23451
  2. 2026-10-03 Alias added: GHSA-6x93-h9g3-9phr

References

Sources