Uncontrolled Recursion Affecting github.com/graphql-go/graphql/language/parser package, versions <0.8.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (33rd 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 IDSNYK-GOLANG-GITHUBCOMGRAPHQLGOGRAPHQLLANGUAGEPARSER-2964941
  • published2 Aug 2022
  • disclosed2 Aug 2022
  • creditWGH

Introduced: 2 Aug 2022

CVE-2022-37315  (opens in a new tab)
CWE-674  (opens in a new tab)

How 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.

CVSS Scores

version 3.1