Description
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.
Published: 2022-01-21
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-0647 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.
Github GHSA Github GHSA GHSA-mh3m-8c74-74xh Denial of Service in graphql-go
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'}


Subscriptions

Graphql-go Project Graphql-go
Redhat Openshift
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

cve-icon OpenCVE Enrichment

No data.

Weaknesses