
CVE catalog
CVE-2022-21708
golang-github-graph-gophers-graphql-go: CVE-2022-21708
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.24% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-github-graph-gophers-graphql-go | sid | 1.10.3-1 | fixed |
| Debian | golang-github-graph-gophers-graphql-go | forky | 1.10.3-1 | fixed |
| Debian | golang-github-graph-gophers-graphql-go | trixie | 1.6.0-1 | fixed |
| Debian | golang-github-graph-gophers-graphql-go | bookworm | 1.5.0-1 | fixed |
| Ubuntu | golang-github-graph-gophers-graphql-go | 20.04 | 0.0~git20180609.bb97385-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-github-graph-gophers-graphql-go | source | sid | 1.3.0-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-graph-gophers-graphql-go | source | forky | 1.3.0-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-graph-gophers-graphql-go | source | trixie | 1.3.0-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-graph-gophers-graphql-go | source | bookworm | 1.3.0-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
Source package: [golang-github-graph-gophers-graphql-go]
Details (2)
1.5.0-1· all · bookwormFixed · Fixed:
1.3.0-1dsa · golang-github-graph-gophers-graphql-go · debian · bookworm
1.5.0-1· all · bookwormFixed · Fixed:
1.3.0-1dsa · golang-github-graph-gophers-graphql-go · debian · bookworm
Observed:
References
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-21708]
- [https://security-tracker.debian.org/tracker/CVE-2022-21708]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-21708.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]