graphql-go is a GraphQL server with a focus on ease of use. In versions prior to 1.3.0 there exists a DoS vulnerability that is possible due to a bug in the library that would allow an attacker with specifically designed queries to cause stack overflow panics. Any user with access to the GraphQL handler can send these queries and cause stack overflows. This in turn could potentially compromise the ability of the server to serve data to its users. The issue has been patched in version `v1.3.0`. The only known workaround for this issue is to disable the `graphql.MaxDepth` option from your schema which is not recommended.
Metrics
Affected Vendors & Products
References
History
Wed, 23 Apr 2025 19:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2022-01-21T22:25:10.000Z
Updated: 2025-04-23T19:09:37.494Z
Reserved: 2021-11-16T00:00:00.000Z
Link: CVE-2022-21708

Updated: 2024-08-03T02:53:34.849Z

Status : Modified
Published: 2022-01-21T23:15:08.457
Modified: 2024-11-21T06:45:16.903
Link: CVE-2022-21708
