SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2022-21708

In versions prior to 1.3.0 there exists a DoS vulnerability that is possible due to a bug in the library that would allow an attacker with specifically designed queries to cause stack overflow panics.

MEDIUM 6.5EPSS 1.24%

Does this matter?

Lower severity and a low EPSS score (1.24%). Track it; it rarely justifies an emergency change on its own.

Description

graphql-go is a GraphQL server with a focus on ease of use. In versions prior to 1.3.0 there exists a DoS vulnerability that is possible due to a bug in the library that would allow an attacker with specifically designed queries to cause stack overflow panics. Any user with access to the GraphQL handler can send these queries and cause stack overflows. This in turn could potentially compromise the ability of the server to serve data to its users. The issue has been patched in version `v1.3.0`. The only known workaround for this issue is to disable the `graphql.MaxDepth` option from your schema which is not recommended.

CVSS 3.1
6.5 MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.24% probability · 68th percentile
CISA KEV
Not listed
Weakness
CWE-400, CWE-674
Affected
graphql-go project/graphql-go
Source
security-advisories@github.com

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.