Allocation of Resources Without Limits or Throttling Affecting async-graphql package, versions <7.0.10


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUST-ASYNCGRAPHQL-8161999
  • published 4 Oct 2024
  • disclosed 3 Oct 2024
  • credit Unknown

How to fix?

Upgrade async-graphql to version 7.0.10 or higher.

Overview

async-graphql is a GraphQL server library

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the excessive use of server resources, such as CPU and memory. An attacker can cause the server to become unresponsive or extremely slow, leading to potential downtime by overloading the server with directives.

Workaround

This vulnerability can be mitigated by using SchemaBuilder.limit_directives to limit the maximum number of directives for a single field.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
8.7 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None