GitHub Advisory Database
GHSA-h3qm-jrrf-cgj3
graphql-go has infinite recursion in the type definition parser
Details
graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the type definition parser.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/graphql-go/graphql | All versions before 0.8.1 (fixed in 0.8.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-37315
- https://github.com/graphql-go/graphql/issues/637
- https://github.com/graphql-go/graphql/pull/642
- https://github.com/graphql-go/graphql/pull/642/commits/4188bd5b3877f7badb951b421cf66e0af2eacb22
- https://github.com/graphql-go/graphql
- https://pkg.go.dev/vuln/GO-2022-0942