CVEvulnerability
CVE-2021-23451
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-07-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-330
Description
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.
Affected configurations
• otp-generator project otp-generator (< 3.0.0)
Related
Weakness · CWE (1)
- CWE-330 Use of Insufficiently Random Values weakness
References
- https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70 Patch, Third Party Advisory
- https://github.com/Maheshkumar-Kakade/otp-generator/issues/12 Issue Tracking, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480 Issue Tracking, Patch, Third Party Advisory
- https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70 Patch, Third Party Advisory
- https://github.com/Maheshkumar-Kakade/otp-generator/issues/12 Issue Tracking, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480 Issue Tracking, Patch, Third Party Advisory