HIGH8.8
GHSA-fx37-56v6-85q6
Silverstripe CSRF Protection Bypass via GraphQL
Quick fix
GHSA-fx37-56v6-85q6 — silverstripe/graphql: upgrade to the fixed version with the command below.
composer require silverstripe/graphql:^2.0.5Details
In SilverStripe/GraphQL prior to 2.0.5 and 3.1.2, the previous fix for SS-2018-007 does not completely mitigate the risk of CSRF in GraphQL mutations.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/graphql
Introduced in:
2.0.0Fixed in: 2.0.5Fix
composer require silverstripe/graphql:^2.0.5Packagist/silverstripe/graphql
Introduced in:
3.1.0Fixed in: 3.1.2Fix
composer require silverstripe/graphql:^3.1.2References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12437[ADVISORY]
- https://github.com/silverstripe/silverstripe-graphql/commit/3c1dd6b839b7c0e2cbc85074bb5840ebded6097c[WEB]
- https://github.com/silverstripe/silverstripe-graphql/commit/db28f3075ae2335905f43ac808e9177497e354ff[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2019-12437.yaml[WEB]
- https://github.com/silverstripe/silverstripe-graphql[PACKAGE]
- https://www.silverstripe.org/download/security-releases/cve-2019-12437[WEB]