Vulnerability

CVE-2022-21708

mediumCVSS 3.1 6.5Published 21 Jan 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Graphql Go Project graphql-go

Weakness type

References

  • github.com /graph-gophers/graphql-go/commit/eae31ca73eb3473c544710955d…
  • github.com /graph-gophers/graphql-go/security/advisories/GHSA-mh3m-8c7…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning