CVE-2023-49559
LOW 3.7CVSS 3.1gqlparser denial of service vulnerability via the parserDirectives function
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.
- Published
- 12 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-2hmf-46v7-v6fxGO-2024-2920
- Sources
- NVDJSONOSV GHSA-2hmf-46v7-v6fxJSONOSV GO-2024-2920JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/vektah/gqlparser/v2 | < 2.5.14 | 2.5.14 |
| OSV | Go | github.com/vektah/gqlparser | < 2.5.14 | 2.5.14 |
| OSV | Go | github.com/vektah/gqlparser | all versions |
References
- https://gist.github.com/uvzz/d3ed9d4532be16ec1040a2cf3dfec8d1 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-49559 · ADVISORY
- https://github.com/99designs/gqlgen/issues/3118 · WEB
- https://github.com/vektah/gqlparser/commit/36a3658873bf5a107f42488dfc392949cdd02977 · WEB, FIX
- https://github.com/advisories/GHSA-2hmf-46v7-v6fx · ADVISORY
- https://github.com/vektah/gqlparser · PACKAGE
- https://github.com/vektah/gqlparser/blob/master/parser/query.go#L316 · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 12 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jun 2024)