Security mailing lists by PureSourceCode

GHSA-rmmc-8cqj-hfp3

HIGH

Authentication Bypass in otpauth

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.

Published
3 Sep 2020
Last modified
31 Aug 2020
Weakness
CWE-287
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm otpauth < 3.2.8 3.2.8

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.