Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. apollo-compiler
  4. ›
  5. CVE-2025-31496

CVE-2025-31496: Apollo Compiler Named Fragment Processing Vulnerability

April 7, 2025 (updated April 8, 2025)

A vulnerability in 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 in applications.

References

  • github.com/advisories/GHSA-7mpv-9xg6-5r79
  • github.com/apollographql/apollo-rs
  • github.com/apollographql/apollo-rs/pull/952
  • github.com/apollographql/apollo-rs/security/advisories/GHSA-7mpv-9xg6-5r79
  • nvd.nist.gov/vuln/detail/CVE-2025-31496

Code Behaviors & Features

Detect and mitigate CVE-2025-31496 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.27.0

Fixed versions

  • 1.27.0

Solution

Upgrade to version 1.27.0 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-compiler/CVE-2025-31496.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:04 +0000.