CVE-2021-23451
Summary
| CVE | CVE-2021-23451 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-07-25 14:15:00 UTC |
| Updated | 2022-08-01 17:12:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-330
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Otp-generator Project | Otp-generator | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Insecure Randomness in otp-generator | CVE-2021-23451 | Snyk | CONFIRM | security.snyk.io | |
| Security issue · Issue #12 · Maheshkumar-Kakade/otp-generator · GitHub | CONFIRM | github.com | |
| Changed Math.Random with crypto.randomInt · Maheshkumar-Kakade/otp-generator@b27de1c · GitHub | CONFIRM | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Mateusz Wojciechowski
There are currently no legacy QID mappings associated with this CVE.