GHSA-5gc2-7c65-8fq8

Suggest an improvement
Source
https://github.com/advisories/GHSA-5gc2-7c65-8fq8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-5gc2-7c65-8fq8/GHSA-5gc2-7c65-8fq8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5gc2-7c65-8fq8
Aliases
Published
2024-10-03T18:27:11Z
Modified
2024-10-03T18:57:19.692628Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
async-graphql Directive Overload
Details

Impact

  • Service Disruption: The server may become unresponsive or extremely slow, potentially leading to downtime.
  • Resource Exhaustion: Excessive use of server resources, such as CPU and memory, could negatively impact other services running on the same infrastructure.
  • User Experience Degradation: Users may experience delays or failures when accessing the service, which could lead to frustration and loss of trust in the service.

Patches

  1. Upgrade to v7.0.10
  2. Use SchemaBuilder.limit_directives to limit the maximum number of directives for a single field.
Database specific
{
    "nvd_published_at": "2024-10-03T15:15:14Z",
    "cwe_ids": [
        "CWE-770"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-10-03T18:27:11Z"
}
References

Affected packages

crates.io / async-graphql

Package

Name
async-graphql
View open source insights on deps.dev
Purl
pkg:cargo/async-graphql

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.0.10