Advisory

DEBIAN-CVE-2022-21708

Also known as: CVE-2022-21708

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2022-01-21 23:15 UTC
Modified
2026-11-18 06:02 UTC

Affected packages and fixes

golang-github-graph-gophers-graphql-go

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.3.0-1 (ecosystem)

Fixed versions

1.3.0-1

Fix

  • Fixed version 1.3.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-github-graph-gophers-graphql-go

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.3.0-1 (ecosystem)

Fixed versions

1.3.0-1

Fix

  • Fixed version 1.3.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-github-graph-gophers-graphql-go

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.3.0-1 (ecosystem)

Fixed versions

1.3.0-1

Fix

  • Fixed version 1.3.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences