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
Update the otpauth
package to the latest compatible version. Followings are version details:
- Affected version(s): < 3.2.8
- Patched version(s): 3.2.8
References
Related Issues
- Command Injection Vulnerability - CVE-2021-21315
- Cloudera HUE Account Enumeration - CVE-2016-4947
- Cross-Site Scripting in exceljs - CVE-2018-16459
- Sensitive data exposure in NATS - CVE-2020-26149
- Tags:
- npm
- otpauth
Anything's wrong? Let us know Last updated on January 09, 2023