Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. silverstripe/graphql
  4. ›
  5. CVE-2023-40180

CVE-2023-40180: Uncontrolled Resource Consumption

October 16, 2023 (updated October 23, 2023)

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.

References

  • docs.silverstripe.org/en/developer_guides/graphql/security_and_best_practices/recursive_or_complex_queries
  • github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2023-40180.yaml
  • github.com/advisories/GHSA-v23w-pppm-jh66
  • github.com/silverstripe/silverstripe-graphql/commit/f6d5976ec4608e51184b0db1ee5b9e9a99d2501c
  • github.com/silverstripe/silverstripe-graphql/security/advisories/GHSA-v23w-pppm-jh66
  • github.com/silverstripe/silverstripe-graphql/tree/3.8
  • nvd.nist.gov/vuln/detail/CVE-2023-40180
  • www.silverstripe.org/download/security-releases/CVE-2023-40180

Code Behaviors & Features

Detect and mitigate CVE-2023-40180 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 before 3.8.2, all versions starting from 4.0.0 before 4.1.3, all versions starting from 4.2.0 before 4.2.5, all versions starting from 4.3.0 before 4.3.4, all versions starting from 5.0.0 before 5.0.3

Fixed versions

  • 3.8.2
  • 4.1.3
  • 4.2.5
  • 4.3.4
  • 5.0.3

Solution

Upgrade to versions 3.8.2, 4.1.3, 4.2.5, 4.3.4, 5.0.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

packagist/silverstripe/graphql/CVE-2023-40180.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:52 +0000.