CVE-2021-23451
otp-generator before v3.0.0 insecurely generates random one-time passwords
9.8
CRITICAL
CVSS 3.1
EPSS 0.38%
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.
How to fix CVE-2021-23451
To remediate CVE-2021-23451, upgrade the affected package to a fixed version below.
- npm/otp-generator—upgrade to 3.0.0 or later
Is CVE-2021-23451 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 3.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |