Open-source package vulnerability · Go
CVE-2023-49559: gqlparser denial of service vulnerability via the parserDirectives function
mediumCVSS 3.1 5.3GHSA-2hmf-46v7-v6fx
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.
Published Jun 12, 2024 · Updated Dec 3, 2024
Affected packages
github.com/vektah/gqlparser/v2
- Ecosystem
- Go
- Affected
- < 2.5.14
- Fixed in
- 2.5.14
- Check
go list -m github.com/vektah/gqlparser/v2
github.com/vektah/gqlparser
- Ecosystem
- Go
- Affected
- < 2.5.14
- Fixed in
- 2.5.14
- Check
go list -m github.com/vektah/gqlparser
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-49559
- https://gist.github.com/uvzz/d3ed9d4532be16ec1040a2cf3dfec8d1
- https://github.com/99designs/gqlgen/issues/3118
- https://github.com/vektah/gqlparser/commit/36a3658873bf5a107f42488dfc392949cdd02977
- https://github.com/vektah/gqlparser/blob/master/parser/query.go#L316
- https://github.com/advisories/GHSA-2hmf-46v7-v6fx
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
