CVE-2023-49559 json
gqlparser denial of service vulnerability via the parserDirectives function
published 2024-06-12 2 y ago modified 2026-09-10 1 mo ago also GHSA-2hmf-46v7-v6fx , GO-2024-2920 , EUVD-2024-1883
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/vektah/gqlparser/v2 2.5.14
- go github.com/vektah/gqlparser 2.5.14
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/vektah/gqlparser/v2 | <2.5.14 |
2.5.14 |
| go | github.com/vektah/gqlparser | <2.5.14 all versions |
2.5.14 |
Classification
References
-
github.com
/vektah/gqlparser/commit/36a3658873bf5a107f42488dfc392949cdd02977
web, patch
-
gist.github.com
/uvzz/d3ed9d4532be16ec1040a2cf3dfec8d1
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-49559
advisory
-
github.com
/99designs/gqlgen/issues/3118
web
-
github.com
/advisories/GHSA-2hmf-46v7-v6fx
advisory
-
github.com
/vektah/gqlparser
package
-
github.com
/vektah/gqlparser/blob/master/parser/query.go#L316
web
Sources
- CVE List CVE-2023-49559
- GitHub Advisory GHSA-2hmf-46v7-v6fx
- NVD CVE-2023-49559
- OSV GO-2024-2920
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.