Allocation of Resources Without Limits or Throttling Affecting apollo-compiler package, versions <1.27.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (17th 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-APOLLOCOMPILER-9697336
  • published15 Apr 2025
  • disclosed7 Apr 2025
  • creditUnknown

Introduced: 7 Apr 2025

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

How to fix?

Upgrade apollo-compiler to version 1.27.0 or higher.

Overview

apollo-compiler is a compiler for the GraphQL query language.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling when processing named fragments. An attacker can cause excessive resource consumption and potentially disrupt service by submitting queries with deeply nested and reused named fragments.

CVSS Base Scores

version 4.0
version 3.1