{"id":"GHSA-2hmf-46v7-v6fx","revision":"3c7873d1a4d047c68d042993a207532c","records":[{"revision":"3c7873d1a4d047c68d042993a207532c","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-2hmf-46v7-v6fx","aliases":["CVE-2023-49559","GO-2024-2920"],"title":"gqlparser denial of service vulnerability via the parserDirectives function","description":"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.","state":0,"publishedAt":"2024-06-12T21:31:19+00:00","modifiedAt":"2026-09-10T03:50:14.7296339+00:00","affected":[{"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},{"ecosystem":"Go","name":"github.com/vektah/gqlparser","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.5.14"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2023-49559","https://github.com/99designs/gqlgen/issues/3118","https://github.com/vektah/gqlparser/commit/36a3658873bf5a107f42488dfc392949cdd02977","https://gist.github.com/uvzz/d3ed9d4532be16ec1040a2cf3dfec8d1","https://github.com/advisories/GHSA-2hmf-46v7-v6fx","https://github.com/vektah/gqlparser","https://github.com/vektah/gqlparser/blob/master/parser/query.go#L316"],"sourceUrl":"https://github.com/advisories/GHSA-2hmf-46v7-v6fx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2hmf-46v7-v6fx","identifiers":["GHSA-2hmf-46v7-v6fx","CVE-2023-49559","GO-2024-2920"]},"retained":false,"historicalAffected":[]}],"coverage":[]}