VulnerabilityModified
CVE-2021-23451
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.
CRITICAL 9.8EPSS 0.86%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.86%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.86% probability · 57th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-330
- Affected
- otp-generator project/otp-generator
- Source
- report@snyk.io
References
- https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70Patch, Third Party Advisory
- https://github.com/Maheshkumar-Kakade/otp-generator/issues/12Issue Tracking, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480Issue Tracking, Patch, Third Party Advisory
- https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70Patch, Third Party Advisory
- https://github.com/Maheshkumar-Kakade/otp-generator/issues/12Issue Tracking, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480Issue Tracking, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.