Description
Before version 3.7 the bundle is vulnerable to a [security issue in JWT](https://auth0.com/blog/critical-vulnerabilities-in-json-web-token-libraries/), which can be exploited by an attacker to generate trusted device cookies on their own, effectively by-passing two-factor authentication.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | scheb/two-factor-bundle | >= 3.0.0, < 3.7.0 | 3.7.0 | GHSA-h6mp-mc7g-mg49 |
References
- https://github.com/scheb/two-factor-bundle/issues/143 web
- https://github.com/scheb/two-factor-bundle/commit/8890c1e47ae89e0ac6f8a40fd4bb4b91c2081aa7 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/scheb/two-factor-bundle/2018-07-08.yaml web
- https://github.com/scheb/two-factor-bundle package