{"id":"GHSA-rmmc-8cqj-hfp3","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.\n\n\n## Recommendation\n\nUpgrade to version 3.2.8 or later.","modified":"2020-08-31T18:46:51Z","published":"2020-09-03T18:24:43Z","database_specific":{"cwe_ids":["CWE-287"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:46:51Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://www.npmjs.com/advisories/1087"}],"affected":[{"package":{"name":"otpauth","ecosystem":"npm","purl":"pkg:npm/otpauth"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.2.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-rmmc-8cqj-hfp3/GHSA-rmmc-8cqj-hfp3.json"}}],"schema_version":"1.9.0"}