CVE-2022-37315
graphql-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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the type definition parser.
- Record
CVE-2022-37315- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-674
- Updated
- 2026-11-02
CVE List No score
graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the type definition parser.
- Record
CVE-2022-37315- Updated
- 2026-11-02
EUVDEUVD-2022-6561 No score
graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the type definition parser.
- Record
EUVD-2022-6561- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-h3qm-jrrf-cgj3
7.5
graphql-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.
- Record
GHSA-h3qm-jrrf-cgj3- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-674
- Updated
- 2026-11-02
OSVGHSA-h3qm-jrrf-cgj3
7.5
graphql-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.
- Record
GHSA-h3qm-jrrf-cgj3- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-674
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-37315
7.5
graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the type definition parser.
- Record
UBUNTU-CVE-2022-37315- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV No score
graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the type definition parser.
- Record
CVE-2022-37315- Updated
- 2026-11-02
OSVGO-2022-0942 No score
Infinite recursion in parser in github.com/graphql-go/graphql
graphql-go (aka GraphQL for Go) has infinite recursion in the type definition parser.
- Record
GO-2022-0942- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/graphql-go/graphqlGo |
through 0.8.0 | 0.8.1 |
github.com/graphql-go/graphqlGo |
before 0.8.1 | 0.8.1 |
golang-github-graph-gophers-graphql-goUbuntu:20.04:LTS |
All versions, plus listed versions 0.0~git20180609.bb97385-2 |
None known |
golang-github-graph-gophers-graphql-goUbuntu:22.04:LTS |
All versions, plus listed versions 0.0~git20180609.bb97385-2.11.2.0-11.3.0-1 |
None known |
golang-github-graph-gophers-graphql-goUbuntu:24.04:LTS |
All versions, plus listed versions 1.5.0-1 |
None known |
golang-github-graph-gophers-graphql-goUbuntu:25.10 |
All versions, plus listed versions 1.6.0-1 |
None known |
golang-github-graph-gophers-graphql-goUbuntu:26.10 |
All versions, plus listed versions 1.8.0-11.10.2-1 |
None known |
golang-github-graph-gophers-graphql-goUbuntu:26.04:LTS |
All versions, plus listed versions 1.6.0-11.8.0-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-37315 is a high vulnerability (CVSS 7.5) in Graphql-go Project Graphql-go, published August 1, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.21%, the 68th percentile. Fixed in github.com/graphql-go/graphql 0.8.1.