MEDIUM4.3
GHSA-r7rh-g777-g5gx
SilverStripe GraphQL Server permission checker not inherited by query subclass.
Quick fix
GHSA-r7rh-g777-g5gx — silverstripe/graphql: upgrade to the fixed version with the command below.
composer require silverstripe/graphql:^3.5.2Details
Default SilverStripe GraphQL Server (aka silverstripe/graphql) 3.x through 3.4.1 permission checker not inherited by query subclass.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/graphql
Introduced in:
3.0.0Fixed in: 3.5.2Fix
composer require silverstripe/graphql:^3.5.2References
- https://nvd.nist.gov/vuln/detail/CVE-2021-28661[ADVISORY]
- https://github.com/silverstripe/silverstripe-graphql/pull/407/commits/16961459f681f7b32145296189dfdbcc7715e6ed[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2021-28661.yaml[WEB]
- https://github.com/silverstripe/silverstripe-graphql[PACKAGE]
- https://github.com/silverstripe/silverstripe-graphql/releases[WEB]
- https://github.com/silverstripe/silverstripe-graphql/releases/tag/3.5.2[WEB]
- https://www.silverstripe.org/download/security-releases/CVE-2021-28661[WEB]