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/issues/12
https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480
https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70
Related Vulnerabilities
CVE-2022-22138 Vulnerability in npm package fast-string-search
CVE-2015-0226 Vulnerability in maven package org.apache.wss4j:wss4j-ws-security-dom
CVE-2021-46708 Vulnerability in maven package org.webjars:swagger-ui
CVE-2014-9634 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2022-42003 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind