GHSA-xq3c-8gqm-v648: Async graphql Denial of Service Vulnerability

HIGH
CVSS 7.5
Published
Advisory Summary

GHSA-xq3c-8gqm-v648 is a HIGH (CVSS 7.5) denial of service vulnerability (General Security Weakness) affecting Async graphql libraries in the crates.io ecosystem. The issue involves async-graphql / async-graphql - @dos graphql nested fragments overflow. Remediation is available by upgrading affected packages to version 4.0.6.

GHSA-xq3c-8gqm-v648 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-xq3c-8gqm-v648
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification General Security Weakness
Affected Product Async graphql
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix GHSA-xq3c-8gqm-v648

To remediate this vulnerability, upgrade all affected Async graphql dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

async-graphql fixed: 4.0.6
Upgrade async-graphql to 4.0.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for async-graphql

How to Check if You Are Affected

To determine whether your application is affected by GHSA-xq3c-8gqm-v648, inspect your project dependencies for Async graphql:

inspect dependencies for async-graphql

Analyze the terminal output to locate any version of Async graphql in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Async graphql, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Executing deeply nested queries may cause stack overflow. ### Patches Upgrade to `v4.0.6`

GHSA-xq3c-8gqm-v648 Affected Async graphql Versions

1 component(s)
Fixed Versions:
4.0.6
Product / Package Ecosystem Affected Versions Fixed Version
async-graphql
crates.io
< 4.0.6
4.0.6

References

Frequently Asked Questions

What is GHSA-xq3c-8gqm-v648?
GHSA-xq3c-8gqm-v648 is a security vulnerability in Async graphql involving async-graphql / async-graphql - @DOS GraphQL Nested Fragments overflow under General Security Weakness.
Which Async graphql versions are affected?
Affected versions include releases prior to 4.0.6 across affected packages: async-graphql.
What version fixes GHSA-xq3c-8gqm-v648?
Upgrading to 4.0.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is async-graphql affected?
Yes, async-graphql is affected in releases prior to 4.0.6. Upgrade your dependency to 4.0.6 or later.
What is the CVSS score of GHSA-xq3c-8gqm-v648?
GHSA-xq3c-8gqm-v648 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-xq3c-8gqm-v648?
GHSA-xq3c-8gqm-v648 is classified under General Security Weakness.
How can I check crates.io dependencies for GHSA-xq3c-8gqm-v648?
Run the dependency tree command: 'inspect dependencies for async-graphql'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xq3c-8gqm-v648",
  "modified" : "2022-07-29T22:22:27Z",
  "published" : "2022-07-29T22:22:27Z",
  "aliases" : [ ],
  "summary" : "async-graphql / async-graphql - @DOS GraphQL Nested Fragments overflow",
  "details" : "### Impact\n\nExecuting deeply nested queries may cause stack overflow.\n\n### Patches\n\nUpgrade to `v4.0.6`\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "async-graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.0.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/async-graphql/async-graphql/security/advisories/GHSA-xq3c-8gqm-v648"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/async-graphql/async-graphql/commit/521769b80039fc8043d1c9883e3d6e5b57359072"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/async-graphql/async-graphql"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2022-0037.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-29T22:22:27Z",
    "nvd_published_at" : null
  }
}