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-2020-28458 Vulnerability in maven package org.webjars.bower:datatables.net
CVE-2020-7704 Vulnerability in npm package linux-cmdline
CVE-2022-36437 Vulnerability in maven package com.hazelcast.jet:hazelcast-jet-enterprise
CVE-2020-26245 Vulnerability in npm package systeminformation
CVE-2022-23540 Vulnerability in maven package org.webjars.npm:jsonwebtoken