SCA: security update for github.com/graph-gophers/graphql-go (GHSA-mh3m-8c74-74xh)

medium Tenable Cloud Security Plugin ID 416965

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-21708)

See Also

https://github.com/advisories/GHSA-mh3m-8c74-74xh

Plugin Details

Severity: Medium

ID: 416965

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

Vector: CVSS2#AV:N/AC:M/Au:S/C:N/I:N/A:P

CVSS Score Source: CVE-2022-21708

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/27/2022

Vulnerability Publication Date: 1/21/2022

Reference Information

CVE: CVE-2022-21708

cwe: CWE-400