GHSA-xm5f-hc9r-76f3high7.5
PHP JOSE Library by Gree Inc. Uses a Broken or Risky Cryptographic Algorithm
The advisory, in context
The PHP JOSE Library by Gree Inc. prior to 2.2.1 is vulnerable to key confusion/algorithm substitution in the JWS component resulting in bypassing the signature verification via crafted tokens.
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.
gree/jose Packagist
Ecosystem versions
Earlier releases before 2.2.1
Fixed in 2.2.1
11 explicitly affected versions
0.1.0, 0.1.1, 0.1.3, 0.1.4, 0.1.5, 1.0.0, 1.0.1, 2.0.0, 2.0.1, 2.1.0, 2.2.0
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.1.0",
"0.1.1",
"0.1.3",
"0.1.4",
"0.1.5",
"1.0.0",
"1.0.1",
"2.0.0",
"2.0.1",
"2.1.0",
"2.2.0"
]
}