- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm otpauth 3.2.8
Is GHSA-rmmc-8cqj-hfp3 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | otpauth | <3.2.8 |
3.2.8 |
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
Sources
- GitHub Advisory GHSA-rmmc-8cqj-hfp3
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.