Advisory

GHSA-5gc2-7c65-8fq8

Also known as: CVE-2024-47614

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-10-03 18:27 UTC
Modified
2024-10-03 18:57 UTC

Affected packages and fixes

async-graphql

crates.io · All systems

Affected

  • introduced 0, fixed 7.0.10 (semver)

Fixed versions

7.0.10

Fix

  • Fixed version 7.0.10
    cargo update -p async-graphql --precise 7.0.10

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences