Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @apollo/gateway
  4. ›
  5. GHSA-p2q6-pwh5-m6jr

GHSA-p2q6-pwh5-m6jr: Apollo Gateway Query Planner Vulnerable to Excessive Resource Consumption via Optimization Bypass

April 7, 2025

A vulnerability in Apollo Gateway allowed queries with deeply nested and reused named fragments to be prohibitively expensive to query plan, specifically due to internal optimizations being frequently bypassed. This could lead to excessive resource consumption and denial of service.

References

  • github.com/advisories/GHSA-p2q6-pwh5-m6jr
  • github.com/apollographql/federation
  • github.com/apollographql/federation/pull/3236
  • github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1
  • github.com/apollographql/federation/security/advisories/GHSA-p2q6-pwh5-m6jr

Code Behaviors & Features

Detect and mitigate GHSA-p2q6-pwh5-m6jr with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.10.1

Fixed versions

  • 2.10.1

Solution

Upgrade to version 2.10.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/@apollo/gateway/GHSA-p2q6-pwh5-m6jr.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:49 +0000.