-
CVSS Score
-| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| async-graphql | rust | < 7.0.10 | 7.0.10 |
The vulnerability stems from missing directive count validation during query processing. The patch adds a new check_max_directives function and integrates it into prepare_request across both schema implementations. In vulnerable versions, prepare_request lacked these checks, allowing unlimited directives. The functions are explicitly modified in the commit diff to add max_directives handling, confirming their role in the vulnerability. The CWE-770 mapping further supports the resource exhaustion scenario caused by unvalidated directive processing in these core request handling functions.