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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | otp-generator | before 3.0.0 | 3.0.0 | Patch available | CNA |
| — | otp-generator (npm) | before 3.0.0 | 3.0.0 | Patch available | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:otp-generator_project:otp-generator:*:*:*:*:*:node.js:*:* | before 3.0.0 | Vulnerable | Otp-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
- 2026-10-02 Threatist record created from CVE-2021-23451
- 2026-10-03 Alias added: GHSA-6x93-h9g3-9phr
References
Sources
- CVE-2021-23451 · CVE Program
- CVE-2021-23451 · NVD
- FIRST EPSS
- GHSA-6x93-h9g3-9phr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences