CVE-2022-21708
Summary
| CVE | CVE-2022-21708 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-01-21 23:15:00 UTC |
| Updated | 2023-07-24 13:52:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| validation: fix bug in maxDepth fragment spread logic (#492) · graph-gophers/graphql-go@eae31ca · GitHub |
MISC |
github.com |
|
| Denial of Service caused by a bug in the MaxDepth schema option · Advisory · graph-gophers/graphql-go · GitHub |
CONFIRM |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 181888 Debian Security Update for golang-github-graph-gophers-graphql-go (CVE-2022-21708)