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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2022-01-21T22:25:10

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

Reserved: 2021-11-16T00:00:00

Link: CVE-2022-21708

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-01-21T23:15:08.457

Modified: 2023-07-24T13:52:44.550

Link: CVE-2022-21708

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-01-22T00:00:00Z

Links: CVE-2022-21708 - Bugzilla