VDB
Sign up
MEDIUM5.3

GHSA-2hmf-46v7-v6fx

gqlparser denial of service vulnerability via the parserDirectives function

Quick fix

GHSA-2hmf-46v7-v6fx — github.com/vektah/gqlparser/v2: upgrade to the fixed version with the command below.

go get github.com/vektah/gqlparser/v2@v2.5.14

Details

An issue in vektah gqlparser open-source-library v.2.5.10 allows a remote attacker to cause a denial of service via a crafted script to the parserDirectives function.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/vektah/gqlparser/v2
Introduced in: 0Fixed in: 2.5.14
Fixgo get github.com/vektah/gqlparser/v2@v2.5.14
Go/github.com/vektah/gqlparser
Introduced in: 0Fixed in: 2.5.14
Fixgo get github.com/vektah/gqlparser@v2.5.14

References