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-2023-41080 Vulnerability in maven package org.apache.tomcat:tomcat
CVE-2022-39386 Vulnerability in npm package fastify-websocket
CVE-2014-0034 Vulnerability in maven package org.apache.cxf.services.sts:cxf-services-sts-core
CVE-2021-43090 Vulnerability in maven package com.predic8:soa-model-core
CVE-2022-26850 Vulnerability in maven package org.apache.nifi:nifi-single-user-utils