DEBIAN-CVE-2022-21708

    Dashboard / Vulnerabilities / DEBIAN-CVE-2022-21708

    DEBIAN-CVE-2022-21708

    Published: 21 Jan 2022Last Modified: 15 Oct 2026
    Upstream:

    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.

    Affected packages

    Package

    Name: golang-github-graph-gophers-graphql-go

    Purl: pkg:deb/debian/golang-github-graph-gophers-graphql-go?arch=source&distro=bookworm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.3.0-1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High