{"id":"GO-2024-2920","revision":"ca3c9b87c0784ab3825ec5b784c379c9","records":[{"revision":"ca3c9b87c0784ab3825ec5b784c379c9","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-2920","aliases":["CVE-2023-49559","GHSA-2hmf-46v7-v6fx"],"title":"Denial of service vulnerability via the parseDirectives function in github.com/vektah/gqlparser","description":"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.","state":0,"publishedAt":"2024-07-01T19:59:12+00:00","modifiedAt":"2026-02-04T02:19:19.852945+00:00","affected":[{"ecosystem":"Go","name":"github.com/vektah/gqlparser","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/vektah/gqlparser/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.5.14"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-2hmf-46v7-v6fx","https://github.com/vektah/gqlparser/commit/36a3658873bf5a107f42488dfc392949cdd02977","https://gist.github.com/uvzz/d3ed9d4532be16ec1040a2cf3dfec8d1","https://github.com/99designs/gqlgen/issues/3118","https://github.com/vektah/gqlparser/blob/master/parser/query.go#L316"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-2920","license":"OSV · upstream source license applies","key":"osv:GO-2024-2920","identifiers":["GO-2024-2920","CVE-2023-49559","GHSA-2hmf-46v7-v6fx"]},"retained":false,"historicalAffected":[]}],"coverage":[]}