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.
Remediation
References
https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70
https://github.com/Maheshkumar-Kakade/otp-generator/issues/12
https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480
Related Vulnerabilities
CVE-2021-23387 Vulnerability in npm package trailing-slash
CVE-2021-21430 Vulnerability in maven package org.openapitools:openapi-generator-project
CVE-2020-36650 Vulnerability in npm package gry
CVE-2021-33040 Vulnerability in npm package epubjs
CVE-2019-19919 Vulnerability in maven package org.webjars.bower:handlebars