HighGHSA-fx37-56v6-85q6CVE-2019-12437
Silverstripe CSRF Protection Bypass via GraphQL
Published 24 May 2022 · Updated 16 Feb 2024
Is your project on an affected silverstripe/graphql?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
silverstripe/graphqlComposer
- Affected
- >=2.0.0 <2.0.5
- Fixed in
- 2.0.5
Update to the fixed version for your release line, for example:
composer require silverstripe/graphql:^2.0.5silverstripe/graphqlComposer
- Affected
- >=3.1.0 <3.1.2
- Fixed in
- 3.1.2
Update to the fixed version for your release line, for example:
composer require silverstripe/graphql:^3.1.2Details
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.
Is GHSA-fx37-56v6-85q6 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/graphql, and gives you the command that fixes it.
More advisories for silverstripe/graphql
- HighGHSA-wjg9-v8cf-f5q2silverstripe/graphql Cross-Site Request Forgery vulnerability · 28 May 2024
- MediumCVE-2023-44401View permissions are bypassed for paginated lists of ORM data · 23 Jan 2024
- HighCVE-2023-40180Silverstripe GraphQL has DDOS Vulnerability due to lack of protection against recursive queries · 17 Oct 2023
- HighCVE-2023-28104DDOS attack on graphql endpoints · 16 Mar 2023
- MediumCVE-2020-6165Silverstripe has Incorrect Default Permissions · 24 May 2022
- MediumCVE-2021-28661SilverStripe GraphQL Server permission checker not inherited by query subclass. · 12 Oct 2021
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-12437
- Linkgithub.com/silverstripe/silverstripe-graphql/commit/3c1dd6b839b7c0e2cbc85074bb5840ebded6097c
- Linkgithub.com/silverstripe/silverstripe-graphql/commit/db28f3075ae2335905f43ac808e9177497e354ff
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2019-12437.yaml
- Packagegithub.com/silverstripe/silverstripe-graphql
- Linkwww.silverstripe.org/download/security-releases/cve-2019-12437
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.