CVE-2022-21708
MEDIUMgraphql-go < 1.3.0 - Denial of Service via Stack Overflow in Query Handling
Title source: llmDescription
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.
References (2)
Core 2
Core References
Third Party Advisory x_refsource_confirm
https://github.com/graph-gophers/graphql-go/security/advisories/GHSA-mh3m-8c74-74xh
Patch, Third Party Advisory x_refsource_misc
https://github.com/graph-gophers/graphql-go/commit/eae31ca73eb3473c544710955d1dbebc22605bfe
Scores
CVSS v3
6.5
EPSS
0.0124
EPSS Percentile
65.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-674
CWE-400
Status
published
Products (2)
graph-gophers/graphql-go
0 - 1.3.0Go
graphql-go_project/graphql-go
< 1.3.0
Published
Jan 21, 2022
Tracked Since
Feb 18, 2026