CVE-2022-21708

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

Configuration 1 (hide)

cpe:2.3:a:graphql-go_project:graphql-go:*:*:*:*:*:*:*:*

History

24 Jul 2023, 13:52

Type Values Removed Values Added
CWE CWE-400 CWE-674

28 Jan 2022, 14:10

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 3.5
v3 : 6.5
First Time Graphql-go Project
Graphql-go Project graphql-go
CWE CWE-400
References (MISC) https://github.com/graph-gophers/graphql-go/commit/eae31ca73eb3473c544710955d1dbebc22605bfe - (MISC) https://github.com/graph-gophers/graphql-go/commit/eae31ca73eb3473c544710955d1dbebc22605bfe - Patch, Third Party Advisory
References (CONFIRM) https://github.com/graph-gophers/graphql-go/security/advisories/GHSA-mh3m-8c74-74xh - (CONFIRM) https://github.com/graph-gophers/graphql-go/security/advisories/GHSA-mh3m-8c74-74xh - Third Party Advisory
CPE cpe:2.3:a:graphql-go_project:graphql-go:*:*:*:*:*:*:*:*

21 Jan 2022, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-01-21 23:15

Updated : 2023-12-10 14:09


NVD link : CVE-2022-21708

Mitre link : CVE-2022-21708

CVE.ORG link : CVE-2022-21708


JSON object : View

Products Affected

graphql-go_project

  • graphql-go
CWE
CWE-674

Uncontrolled Recursion

CWE-400

Uncontrolled Resource Consumption