Advisory

GHSA-6x93-h9g3-9phr

Also known as: CVE-2021-23451

Summary

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

Details

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

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-07-26 00:01 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

otp-generator

npm · All systems

Affected

  • introduced 0, fixed 3.0.0 (semver)

Fixed versions

3.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences