{"schema_version":"1.3.1","id":"GO-2024-2920","modified":"2024-07-01T19:59:12Z","published":"2024-07-01T19:59:12Z","aliases":["CVE-2023-49559","GHSA-2hmf-46v7-v6fx"],"summary":"Denial of service vulnerability via the parseDirectives function in github.com/vektah/gqlparser","details":"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.","affected":[{"package":{"name":"github.com/vektah/gqlparser","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/vektah/gqlparser/parser","symbols":["ParseQuery","ParseSchema","ParseSchemas","parser.parseDirectives"]}]}},{"package":{"name":"github.com/vektah/gqlparser/v2","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.5.14"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/vektah/gqlparser/v2/parser","symbols":["ParseQuery","ParseSchema","ParseSchemas","parser.parseDirectives"]}]}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2hmf-46v7-v6fx"},{"type":"FIX","url":"https://github.com/vektah/gqlparser/commit/36a3658873bf5a107f42488dfc392949cdd02977"},{"type":"WEB","url":"https://gist.github.com/uvzz/d3ed9d4532be16ec1040a2cf3dfec8d1"},{"type":"WEB","url":"https://github.com/99designs/gqlgen/issues/3118"},{"type":"WEB","url":"https://github.com/vektah/gqlparser/blob/master/parser/query.go#L316"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2024-2920","review_status":"REVIEWED"}}