GO-2024-2920
Dashboard / Vulnerabilities / GO-2024-2920
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.
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
Affected packages
Package
Name: github.com/vektah/gqlparser
Purl: pkg:golang/github.com/vektah/gqlparser
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
