GitHub Advisory Database
GHSA-5gc2-7c65-8fq8
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
- Upgrade to v7.0.10
- Use SchemaBuilder.limit_directives to limit the maximum number of directives for a single field.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | async-graphql | All versions before 7.0.10 (fixed in 7.0.10) |