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

EcosystemPackageFixed inAdvisory
Gogithub.com/graphql-go/graphql0.8.1GHSA-h3qm-jrrf-cgj3
Gogithub.com/graphql-go/graphql0.8.1GO-2022-0942
Ubuntu:22.04:LTSgolang-github-graph-gophers-graphql-gono fix listedUBUNTU-CVE-2022-37315
Ubuntu:24.04:LTSgolang-github-graph-gophers-graphql-gono fix listedUBUNTU-CVE-2022-37315
Ubuntu:25.10golang-github-graph-gophers-graphql-gono fix listedUBUNTU-CVE-2022-37315
Ubuntu:26.04:LTSgolang-github-graph-gophers-graphql-gono fix listedUBUNTU-CVE-2022-37315
Ubuntu:26.10golang-github-graph-gophers-graphql-gono fix listedUBUNTU-CVE-2022-37315

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References