Uncontrolled Recursion Affecting github.com/graphql-go/graphql/language/parser package, versions <0.8.1
Snyk CVSS
Attack Complexity
Low
Availability
High
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.07% (31st
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMGRAPHQLGOGRAPHQLLANGUAGEPARSER-2964941
- published 2 Aug 2022
- disclosed 2 Aug 2022
- credit WGH
Introduced: 2 Aug 2022
CVE-2022-37315 Open this link in a new tabHow to fix?
Upgrade github.com/graphql-go/graphql/language/parser
to version 0.8.1 or higher.
Overview
github.com/graphql-go/graphql/language/parser is an an implementation of GraphQL in Go.
Affected versions of this package are vulnerable to Uncontrolled Recursion via the parseDocument
function.