Amenazas en vivo

Todas las CVE / Graphql-go Project

CVE-2022-21708Graphql-go Project Graphql-go

Media 6.5

Prioridad
39
CVSS 3.1
6.5
EPSS
1.1%
probabilidad de explotación en 30 días · percentil 64
Requiere autenticación
Sí
Publicada
21 ene 2022
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-400, CWE-674
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Qué pasa

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Graphql-go.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Go github.com/graph-gophers/graphql-go < 1.3.0 1.3.0 go get github.com/graph-gophers/graphql-go@v1.3.0
Go github.com/graph-gophers/graphql-go < 1.3.0 1.3.0 go get github.com/graph-gophers/graphql-go@v1.3.0

Según OSV / GitHub Advisories (GHSA-mh3m-8c74-74xh, GO-2022-0300). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
graphql-go_projectgraphql-go< 1.3.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.