cve.bz

CVE-2021-23451

9.8 criticalEPSS 0.9%

Critical (9.8) in otp-generator project otp-generator. EPSS 0.9% chance of exploitation in the next 30 days. Fixed in otp-generator 3.0.0.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.9% chance of exploitation in the next 30 days; higher than 59% of CVEs (scores of 2026-10-31)
CWE
CWE-330
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6x93-h9g3-9phrnpmotp-generator<3.0.03.0.0

References

Check your stackJSON