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-2022-36913 Vulnerability in maven package org.jenkins-ci.plugins:openstack-heat
CVE-2017-4971 Vulnerability in maven package org.springframework.webflow:spring-webflow
CVE-2021-37404 Vulnerability in maven package org.apache.hadoop:hadoop-common
CVE-2021-41184 Vulnerability in maven package org.webjars.bowergithub.jquery:jquery-ui
CVE-2023-36479 Vulnerability in maven package org.eclipse.jetty.ee9:jetty-ee9-servlets