Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
otp-generatorunspecified – < 3.0.03.0.0CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
snyk (CNA)6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References

refsecurity.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480refgithub.com/Maheshkumar-Kakade/otp-generator/issues/12refgithub.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70