GHSA-rmmc-8cqj-hfp3
JSON

high

Authentication Bypass in otpauth

Severity
high rating by GitHub
Published
Last changed

Description

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.

Affected

Product or packageVersionsReported by
otpauth (npm)before 3.2.8GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-rmmc-8cqj-hfp3 changed 2020-08-31CC-BY-4.0