vektah/gqlparser · Security
gqlparser denial of service vulnerability via the parserDirectives function
- GHSA ID
- GHSA-2hmf-46v7-v6fx
- CVE ID
- CVE-2023-49559
- Severity
- medium
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS v3
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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.
CWEs
- CWE-400 · Uncontrolled Resource Consumption
- CWE-770 · Allocation of Resources Without Limits or Throttling
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 ↗