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

Wed, 23 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-23T19:09:37.494Z

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

Link: CVE-2022-21708

cve-icon Vulnrichment

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

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T06:45:16.903

Link: CVE-2022-21708

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2022-21708 - Bugzilla