CVE-2022-37315
HIGH 7.5CVSS 3.1graphql-go has infinite recursion in the type definition parser
graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the type definition parser.
- Published
- 1 Aug 2022
- Last modified
- 25 Aug 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-674
- Also known as
- GHSA-h3qm-jrrf-cgj3GO-2022-0942
- Sources
- NVDJSONOSV GHSA-h3qm-jrrf-cgj3JSONOSV GO-2022-0942JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | graphql-go_project | graphql-gocpe:2.3:a:graphql-go_project:graphql-go:*:*:*:*:*:*:*:* |
<= 0.8.0 | |
| OSV | Go | github.com/graphql-go/graphql | < 0.8.1 | 0.8.1 |
References
- https://github.com/graphql-go/graphql/issues/637 · Exploit, Issue Tracking, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2026/08/25/2
- https://nvd.nist.gov/vuln/detail/CVE-2022-37315 · ADVISORY
- https://github.com/graphql-go/graphql/pull/642 · WEB, FIX
- https://github.com/graphql-go/graphql/pull/642/commits/4188bd5b3877f7badb951b421cf66e0af2eacb22 · WEB, FIX
- https://github.com/graphql-go/graphql · PACKAGE
- https://pkg.go.dev/vuln/GO-2022-0942 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Aug 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Aug 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Aug 2022)