GHSA-v23w-pppm-jh66

Suggest an improvement
Source
https://github.com/advisories/GHSA-v23w-pppm-jh66
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-v23w-pppm-jh66/GHSA-v23w-pppm-jh66.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v23w-pppm-jh66
Aliases
Published
2023-10-17T13:48:17Z
Modified
2024-02-16T08:13:17.385591Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Silverstripe GraphQL has DDOS Vulnerability due to lack of protection against recursive queries
Details

Impact

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.

The fix includes some new configuration options which you might want to tweak for your project, based on your own requirements. See the documentation in the references for details.

Patches

Patched in 3.8.2, 4.1.3, 4.2.5, 4.3.4, 5.0.3

References

Reported by

Jason Nguyen from phew (https://phew.co.nz/)

Database specific
{
    "nvd_published_at": "2023-10-16T19:15:10Z",
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-10-17T13:48:17Z"
}
References

Affected packages

Packagist / silverstripe/graphql

Package

Name
silverstripe/graphql
Purl
pkg:composer/silverstripe/graphql

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
3.8.2

Affected versions

3.*

3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.1.0-rc1
3.1.0
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.2.0-alpha1
3.2.0-rc1
3.2.0-rc2
3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.3.0-beta1
3.3.0-rc1
3.3.0
3.4.0-beta1
3.4.0-rc1
3.4.0
3.4.1
3.5.0-beta1
3.5.0-rc1
3.5.0
3.5.1
3.5.2
3.6.0-alpha1
3.6.0-alpha2
3.6.0-beta1
3.6.0-rc1
3.6.0
3.7.0
3.7.1
3.7.2
3.8.0
3.8.1

Packagist / silverstripe/graphql

Package

Name
silverstripe/graphql
Purl
pkg:composer/silverstripe/graphql

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
4.1.3

Affected versions

4.*

4.0.0
4.0.1
4.0.2
4.1.0-beta1
4.1.0-rc1
4.1.0
4.1.1
4.1.2

Packagist / silverstripe/graphql

Package

Name
silverstripe/graphql
Purl
pkg:composer/silverstripe/graphql

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.0
Fixed
4.2.5

Affected versions

4.*

4.2.0
4.2.1
4.2.2
4.2.3
4.2.4

Packagist / silverstripe/graphql

Package

Name
silverstripe/graphql
Purl
pkg:composer/silverstripe/graphql

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.3.0
Fixed
4.3.4

Affected versions

4.*

4.3.0
4.3.1
4.3.2
4.3.3

Packagist / silverstripe/graphql

Package

Name
silverstripe/graphql
Purl
pkg:composer/silverstripe/graphql

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.0.0
Fixed
5.0.3

Affected versions

5.*

5.0.0
5.0.1
5.0.2