{"id":"GHSA-h6mp-mc7g-mg49","aliases":[],"title":"scheb/two-factor-bundle bypass two-factor authentication with unverified JWT trusted device token","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.","severity":"high","score":7.4,"published":"2024-05-21T18:16:24.000Z","modified":"2024-12-06T05:39:49.642Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"scheb/two-factor-bundle","ranges":[{"events":[{"introduced":"3.0.0"},{"fixed":"3.7.0"}],"type":"ECOSYSTEM"}],"versions":["v3.0.0","v3.1.0","v3.2.0","v3.3.0","v3.3.1","v3.4.0","v3.5.0","v3.5.1","v3.6.0","v3.6.1","v3.6.2","v3.6.3"],"fixed":["3.7.0"]}],"references":["https://github.com/scheb/two-factor-bundle/issues/143","https://github.com/scheb/two-factor-bundle/commit/8890c1e47ae89e0ac6f8a40fd4bb4b91c2081aa7","https://github.com/FriendsOfPHP/security-advisories/blob/master/scheb/two-factor-bundle/2018-07-08.yaml","https://github.com/scheb/two-factor-bundle"],"sources":[{"name":"OSV","id":"GHSA-h6mp-mc7g-mg49","modified":"2024-12-06T05:39:49.642018Z","url":"https://osv.dev/vulnerability/GHSA-h6mp-mc7g-mg49"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4}]}