CVE-2023-28104: Silverstripe/graphql Denial of Service Vulnerability
HIGHCVE-2023-28104 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Silverstripe/graphql libraries in the Packagist ecosystem. The issue involves ddos attack on graphql endpoints. Remediation is available by upgrading affected packages to version 4.1.2, 4.2.3.
CVE-2023-28104 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-28104
To remediate this vulnerability, upgrade all affected Silverstripe/graphql dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade silverstripe/graphql to 4.1.2
Upgrade silverstripe/graphql to 4.2.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for silverstripe/graphql
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-28104, inspect your project dependencies for Silverstripe/graphql:
inspect dependencies for silverstripe/graphql
Analyze the terminal output to locate any version of Silverstripe/graphql in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Silverstripe/graphql, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-28104 Affected Silverstripe/graphql Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/graphql
|
Packagist |
≥ 4.1.1
< 4.1.2
|
4.1.2
|
|
silverstripe/graphql
|
Packagist |
≥ 4.2.2
< 4.2.3
|
4.2.3
|
References
Frequently Asked Questions
What is CVE-2023-28104?
Which Silverstripe/graphql versions are affected?
What version fixes CVE-2023-28104?
Is silverstripe/graphql affected?
What is the CVSS score of CVE-2023-28104?
What CWE is associated with CVE-2023-28104?
How can I check Packagist dependencies for CVE-2023-28104?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-67g8-c724-8mp3",
"modified" : "2023-03-16T21:38:40Z",
"published" : "2023-03-16T17:22:17Z",
"aliases" : [ "CVE-2023-28104" ],
"summary" : "DDOS attack on graphql endpoints",
"details" : "An attacker could use a specially crafted graphql query to execute a Distributed Denial of Service attack (DDOS attack) against a website. This mostly affects websites with publicly exposed and particularly large/complex graphql schemas.\n\nIf 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 will likely further mitigate the risk.\n\nUpgrade to `silverstripe/graphql` 4.2.3 or 4.1.2 or above to remedy the vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/graphql"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.1.1"
}, {
"fixed" : "4.1.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/graphql"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.2"
}, {
"fixed" : "4.2.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-graphql/security/advisories/GHSA-67g8-c724-8mp3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-28104"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-graphql/pull/526"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2023-28104.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/silverstripe/silverstripe-graphql"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-graphql/releases/tag/4.1.2"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-graphql/releases/tag/4.2.3"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/download/security-releases/CVE-2023-28104"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-03-16T17:22:17Z",
"nvd_published_at" : "2023-03-16T16:15:00Z"
}
}