Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. apollo-router
  4. ›
  5. GHSA-3j43-9v8v-cp3f

GHSA-3j43-9v8v-cp3f: Apollo Router Query Validation Vulnerable to Excessive Resource Consumption via Named Fragment Processing

April 7, 2025

A vulnerability in Apollo Router’s usage of Apollo Compiler allowed queries with deeply nested and reused named fragments to be prohibitively expensive to validate. This could lead to excessive resource consumption and denial of service.

References

  • github.com/advisories/GHSA-3j43-9v8v-cp3f
  • github.com/apollographql/router
  • github.com/apollographql/router/commit/ab6675a63174715ea6ff50881fc957831d4e9564
  • github.com/apollographql/router/commit/bba032e183b861348a466d3123c7137a1ae18952
  • github.com/apollographql/router/security/advisories/GHSA-3j43-9v8v-cp3f

Code Behaviors & Features

Detect and mitigate GHSA-3j43-9v8v-cp3f 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-3j43-9v8v-cp3f.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:25 +0000.