Vulnerability · Published Aug 1, 2022 · Assigned by mitre
CVE-2022-37315
High 7.5
In plain English
A high-severity security flaw in the github.com/graphql-go/graphql package (Go). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.2%top 31.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the type definition parser.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/graphql-go/graphql | 0.8.1 | GHSA-h3qm-jrrf-cgj3 |
| Go | github.com/graphql-go/graphql | 0.8.1 | GO-2022-0942 |
| Ubuntu:22.04:LTS | golang-github-graph-gophers-graphql-go | no fix listed | UBUNTU-CVE-2022-37315 |
| Ubuntu:24.04:LTS | golang-github-graph-gophers-graphql-go | no fix listed | UBUNTU-CVE-2022-37315 |
| Ubuntu:25.10 | golang-github-graph-gophers-graphql-go | no fix listed | UBUNTU-CVE-2022-37315 |
| Ubuntu:26.04:LTS | golang-github-graph-gophers-graphql-go | no fix listed | UBUNTU-CVE-2022-37315 |
| Ubuntu:26.10 | golang-github-graph-gophers-graphql-go | no fix listed | UBUNTU-CVE-2022-37315 |