Advisory

GHSA-rmmc-8cqj-hfp3

Also known as: None

Summary

Authentication Bypass in otpauth

Details

Versions of otpauth prior to 3.2.8 are vulnerable to Authentication Bypass. The package's totp.validate() function may return positive values for single digit tokens even if they are invalid. This may allow attackers to bypass the OTP authentication by providing single digit tokens.

Recommendation

Upgrade to version 3.2.8 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-03 18:24 UTC
Modified
2020-08-31 18:46 UTC

Affected packages and fixes

otpauth

npm · All systems

Affected

  • introduced 0, fixed 3.2.8 (semver)

Fixed versions

3.2.8

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