scheb/two-factor-bundle bypass two-factor authentication with unverified JWT trusted device token
High severity
GitHub Reviewed
Published
May 21, 2024
to the GitHub Advisory Database
Package
Affected versions
>= 3.0.0, < 3.7.0
Patched versions
3.7.0
Description
Published to the GitHub Advisory Database
May 21, 2024
Reviewed
May 21, 2024
Before version 3.7 the bundle is vulnerable to a security issue in JWT, which can be exploited by an attacker to generate trusted device cookies on their own, effectively by-passing two-factor authentication.
References