VDB

DEBIAN-CVE-2022-21708

DEBIAN-CVE-2022-21708 PUBLISHED CVSS 6.5 MEDIUM

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.

Risk Scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
Debian:12golang-github-graph-gophers-graphql-go0, 0, 0
Debian:11golang-github-graph-gophers-graphql-go1.1.0-2, 1.2.0-1, 1.3.0-1
Debian:14golang-github-graph-gophers-graphql-go0, 0, 0
Debian:13golang-github-graph-gophers-graphql-go0, 0, 0

Timeline

  • Jan 21, 2022 CVE Published
  • Apr 28, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›