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. Learn more

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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-ASYNCGRAPHQL-8161999
  • published4 Oct 2024
  • disclosed3 Oct 2024
  • creditUnknown

Introduced: 3 Oct 2024

CVE-2024-47614  (opens in a new tab)
CWE-770  (opens in a new tab)

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