npm/otp-generator CVE-2021-23451: critical 9.8, EPSS 0.91%
otp-generator before v3.0.0 insecurely generates random one-time passwords
Action: Upgrade otp-generator to 3.0.0 or later.
npm i otp-generator@3.0.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 3.0.0 | - |
Fixed versions
| 3.0.0 |
Sources
- osv: GHSA-6x93-h9g3-9phr
- https://nvd.nist.gov/vuln/detail/CVE-2021-23451
- https://github.com/Maheshkumar-Kakade/otp-generator/issues/12
- https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70
- https://github.com/Maheshkumar-Kakade/otp-generator
- https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480
CVE-2021-23451 · published · modified · JSON