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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.07% (31st percentile)
Expand this section
NVD
7.5 high

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

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.