Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. apollo-router
  4. ›
  5. GHSA-94hh-jmq8-2fgp

GHSA-94hh-jmq8-2fgp: Apollo Router Query Planner Vulnerable to Excessive Resource Consumption via Optimization Bypass

April 7, 2025

A vulnerability in Apollo Router 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-94hh-jmq8-2fgp
  • github.com/apollographql/router
  • github.com/apollographql/router/commit/ab6675a63174715ea6ff50881fc957831d4e9564
  • github.com/apollographql/router/commit/bba032e183b861348a466d3123c7137a1ae18952
  • github.com/apollographql/router/security/advisories/GHSA-94hh-jmq8-2fgp

Code Behaviors & Features

Detect and mitigate GHSA-94hh-jmq8-2fgp 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 1.61.2, all versions starting from 2.0.0-alpha.0 before 2.1.1

Fixed versions

  • 1.61.2
  • 2.1.1

Solution

Upgrade to versions 1.61.2, 2.1.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

cargo/apollo-router/GHSA-94hh-jmq8-2fgp.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 13 May 2025 00:15:22 +0000.