LowGO-2024-2920CVE-2023-49559GHSA-2hmf-46v7-v6fx
Denial of service vulnerability via the parseDirectives function in github.com/vektah/gqlparser
Published 1 Jul 2024 · Updated 4 Feb 2026
Is your project on an affected github.com/vektah/gqlparser?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- All versions
- Fixed in
- No fix released
- Affected
- <2.5.14
- Fixed in
- 2.5.14
Update to the fixed version for your release line, for example:
go get github.com/vektah/gqlparser/v2@v2.5.14Details
An issue in vektah gqlparser open-source-library allows a remote attacker to cause a denial of service via a crafted script to the parseDirectives function.
Is GO-2024-2920 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/vektah/gqlparser, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.