Advisory record · GHSA-mh3m-8c74-74xh

Panic via malicious inputs in github.com/graph-gophers/graphql-go

CVSS 6.5 MediumEPSS 0.013 · 71st percentile

Published by the GitHub Advisory Database at 15 Jul 2022, 23:10 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/graph-gophers/graphql-goGo<1.3.01.3.0
Identifiers
GHSA-mh3m-8c74-74xh · CVE-2022-21708 · GO-2022-0300
Weakness (CWE)
CWE-400
Published
15 Jul 2022
Updated
20 May 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The github.com/graph-gophers/graphql-go package is affected in versions before 1.3.0. A crafted GraphQL query can cause a stack overflow and panic, and any user who can send queries to the GraphQL endpoint can trigger it. The issue only occurs when the graphql.MaxDepth schema option is used. Upgrade to version 1.3.0 or later.

Written 10 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.013, the 71st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 15 Jul 2022. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.