CVE-2022-37315 json
graphql-go has infinite recursion in the type definition parser
published 2022-08-01 4 y ago modified 2026-08-25 2 mo ago also GHSA-h3qm-jrrf-cgj3 , GO-2022-0942 , EUVD-2022-6561
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the type definition parser.
Patch / fix
- go github.com/graphql-go/graphql 0.8.1
- github.com/graphql-go/graphql#642 commit
- github.com/graphql-go/graphql#642 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-37315 updated
graphql-go: infinite recursion in the type definition parser
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.21% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/graphql-go/graphql/issues/637 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/graphql-go/graphql | <0.8.1 |
0.8.1 |
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
github.com
/graphql-go/graphql/pull/642
web, patch
-
github.com
/graphql-go/graphql/pull/642/commits/4188bd5b3877f7badb951b421cf66e0af2eacb22
web, patch
-
github.com
/graphql-go/graphql/issues/637
web, exploit, issue-tracking, third-party-advisory
- openwall.com /lists/oss-security/2026/08/25/2
-
nvd.nist.gov
/vuln/detail/CVE-2022-37315
advisory
-
github.com
/graphql-go/graphql
package
-
pkg.go.dev
/vuln/GO-2022-0942
web
Sources
- CVE List CVE-2022-37315
- GitHub Advisory GHSA-h3qm-jrrf-cgj3
- NVD CVE-2022-37315
- OSV GO-2022-0942
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.