Allocation of Resources Without Limits or Throttling Affecting apollo-federation package, versions <1.61.2>=2.0.0-alpha.0 <2.1.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-RUST-APOLLOFEDERATION-9696791
  • published15 Apr 2025
  • disclosed7 Apr 2025
  • creditUnknown

Introduced: 7 Apr 2025

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

How to fix?

Upgrade apollo-federation to version 1.61.2, 2.1.1 or higher.

Overview

apollo-federation is an architecture for declaratively composing APIs into a unified graph.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the named fragment expansion process. An attacker can cause the system to consume excessive resources and potentially crash by submitting queries with deeply nested and reused named fragments.

Workaround

This can be mitigated by "Safelisting" or "Safelisting with IDs only" per Safelisting with Persisted Queries - Apollo GraphQL Docs.

CVSS Base Scores

version 4.0
version 3.1