Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/vektah/gqlparser/v2
  4. ›
  5. CVE-2023-49559

CVE-2023-49559: gqlparser denial of service vulnerability via the parserDirectives function

June 12, 2024 (updated December 3, 2024)

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.

References

  • gist.github.com/uvzz/d3ed9d4532be16ec1040a2cf3dfec8d1
  • github.com/99designs/gqlgen/issues/3118
  • github.com/advisories/GHSA-2hmf-46v7-v6fx
  • github.com/vektah/gqlparser
  • github.com/vektah/gqlparser/blob/master/parser/query.go
  • github.com/vektah/gqlparser/commit/36a3658873bf5a107f42488dfc392949cdd02977
  • nvd.nist.gov/vuln/detail/CVE-2023-49559

Code Behaviors & Features

Detect and mitigate CVE-2023-49559 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.5.14

Fixed versions

  • 2.5.14

Solution

Upgrade to version 2.5.14 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/vektah/gqlparser/v2/CVE-2023-49559.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 00:14:36 +0000.