GHSA-xq3c-8gqm-v648: Async graphql Denial of Service Vulnerability
HIGHGHSA-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
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).
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.
Upgrade async-graphql to 4.0.6
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
GHSA-xq3c-8gqm-v648 Affected Async graphql Versions
1 component(s)| 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?
Which Async graphql versions are affected?
What version fixes GHSA-xq3c-8gqm-v648?
Is async-graphql affected?
What is the CVSS score of GHSA-xq3c-8gqm-v648?
What CWE is associated with GHSA-xq3c-8gqm-v648?
How can I check crates.io dependencies for GHSA-xq3c-8gqm-v648?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}