GHSA-r7rh-g777-g5gxmedium4.3
SilverStripe GraphQL Server permission checker not inherited by query subclass.
The advisory, in context
Default SilverStripe GraphQL Server (aka silverstripe/graphql) 3.x through 3.4.1 permission checker not inherited by query subclass.
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.
silverstripe/graphql Packagist
Ecosystem versions
From 3.0.0 before 3.5.2
Fixed in 3.5.2
31 explicitly affected versions
3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 3.1.0-rc1, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.2.0, 3.2.0-alpha1, 3.2.0-rc1, 3.2.0-rc2, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.3.0, 3.3.0-beta1, 3.3.0-rc1, 3.4.0, 3.4.0-beta1, 3.4.0-rc1, 3.4.1, 3.5.0, 3.5.0-beta1, 3.5.0-rc1, 3.5.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.5.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.0.0",
"3.0.1",
"3.0.2",
"3.0.3",
"3.0.4",
"3.1.0",
"3.1.0-rc1",
"3.1.1",
"3.1.2",
"3.1.3",
"3.1.4",
"3.1.5",
"3.2.0",
"3.2.0-alpha1",
"3.2.0-rc1",
"3.2.0-rc2",
"3.2.1",
"3.2.2",
"3.2.3",
"3.2.4",
"3.3.0",
"3.3.0-beta1",
"3.3.0-rc1",
"3.4.0",
"3.4.0-beta1",
"3.4.0-rc1",
"3.4.1",
"3.5.0",
"3.5.0-beta1",
"3.5.0-rc1",
"3.5.1"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2021-28661
- https://github.com/silverstripe/silverstripe-graphql/pull/407/commits/16961459f681f7b32145296189dfdbcc7715e6ed
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2021-28661.yaml
- https://github.com/silverstripe/silverstripe-graphql
- https://github.com/silverstripe/silverstripe-graphql/releases
- https://github.com/silverstripe/silverstripe-graphql/releases/tag/3.5.2
- https://www.silverstripe.org/download/security-releases/CVE-2021-28661