GHSA-h6mp-mc7g-mg49high7.4
scheb/two-factor-bundle bypass two-factor authentication with unverified JWT trusted device token
No CVE assignedCheck your stack
The advisory, in context
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
scheb/two-factor-bundle Packagist
Ecosystem versions
From 3.0.0 before 3.7.0
Fixed in 3.7.0
12 explicitly affected 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
View affected-version evidence
{
"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"
]
}