CVE-2021-23451
Otp-generator Project Otp-generator vulnerability
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 products
Otp-generator. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Otp-generator Project Otp-generator runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b7 · Patch
- security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480 · Patch
- github.com/Maheshkumar-Kakade/otp-generator/issues/12 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-23451
- cve.org/CVERecord?id=CVE-2021-23451
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.