Allocation of Resources Without Limits or Throttling Affecting @apollo/gateway package, versions <2.10.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (16th 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-JS-APOLLOGATEWAY-9669209
  • published8 Apr 2025
  • disclosed7 Apr 2025
  • creditUnknown

Introduced: 7 Apr 2025

NewCVE-2025-32030  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade @apollo/gateway to version 2.10.1 or higher.

Overview

@apollo/gateway is a library exporting utility functions.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the query planner's allowing objects with arbitrary nesting depth. An attacker can cause the service to consume excessive resources by sending deeply nested queries with reused named fragments, which are handled suboptimally by the named fragment expansion logic in the query planner.

CVSS Base Scores

version 4.0
version 3.1