Denial of service vulnerability in silverstripe-graphql via recursive queries
Description
silverstripe-graphql is a package which serves Silverstripe data in GraphQL representations. An attacker could use a recursive graphql query to execute a Distributed Denial of Service attack (DDOS attack) against a website. This mostly affects websites with publicly exposed graphql schemas. If your Silverstripe CMS project does not expose a public facing graphql schema, a user account is required to trigger the DDOS attack. If your site is hosted behind a content delivery network (CDN), such as Imperva or CloudFlare, this may further mitigate the risk. This issue has been addressed in versions 3.8.2, 4.1.3, 4.2.5, 4.3.4, and 5.0.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
silverstripe/graphqlPackagist | >= 3.0.0, < 3.8.2 | 3.8.2 |
silverstripe/graphqlPackagist | >= 4.0.0, < 4.1.3 | 4.1.3 |
silverstripe/graphqlPackagist | >= 4.2.0, < 4.2.5 | 4.2.5 |
silverstripe/graphqlPackagist | >= 4.3.0, < 4.3.4 | 4.3.4 |
silverstripe/graphqlPackagist | >= 5.0.0, < 5.0.3 | 5.0.3 |
Affected products
2- Range: >= 3.0.0, < 3.8.2
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-v23w-pppm-jh66ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-40180ghsaADVISORY
- docs.silverstripe.org/en/developer_guides/graphql/security_and_best_practices/recursive_or_complex_queriesghsax_refsource_MISCWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2023-40180.yamlghsaWEB
- github.com/silverstripe/silverstripe-graphql/commit/f6d5976ec4608e51184b0db1ee5b9e9a99d2501cghsax_refsource_MISCWEB
- github.com/silverstripe/silverstripe-graphql/security/advisories/GHSA-v23w-pppm-jh66ghsax_refsource_CONFIRMWEB
- github.com/silverstripe/silverstripe-graphql/tree/3.8ghsax_refsource_MISCWEB
- www.silverstripe.org/download/security-releases/CVE-2023-40180ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.