Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/graphql-go/graphql/language/parser
  4. ›
  5. CVE-2022-37315

CVE-2022-37315: Uncontrolled Recursion

August 2, 2022 (updated February 9, 2023)

graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the type definition parser.

References

  • github.com/advisories/GHSA-h3qm-jrrf-cgj3
  • github.com/graphql-go/graphql/issues/637
  • github.com/graphql-go/graphql/pull/642
  • github.com/graphql-go/graphql/pull/642/commits/4188bd5b3877f7badb951b421cf66e0af2eacb22
  • nvd.nist.gov/vuln/detail/CVE-2022-37315
  • pkg.go.dev/vuln/GO-2022-0942

Code Behaviors & Features

Detect and mitigate CVE-2022-37315 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 up to 0.8.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

go/github.com/graphql-go/graphql/language/parser/CVE-2022-37315.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:16 +0000.