All reports
Critical

otp-generator before v3.0.0 insecurely generates random one-time passwords

Affected versions

Affected versions
< 3.0.0
Fixed version
3.0.0

Exploitation

CVE-2021-23451

Probability of exploitation in the next 30 days: 0.91%

FIRST EPSS · 2026-11-20

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.

Links