Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. apollo-router
  4. ›
  5. CVE-2023-45812

CVE-2023-45812: Apollo Router vulnerable to Improper Check or Handling of Exceptional Conditions

October 19, 2023

The Apollo Router is a configurable, high-performance graph router written in Rust to run a federated supergraph that uses Apollo Federation. Affected versions are subject to a Denial-of-Service (DoS) type vulnerability which causes the Router to panic and terminate when a multi-part response is sent. When users send queries to the router that uses the @defer or Subscriptions, the Router will panic.

To be vulnerable, users of Router must have a coprocessor with coprocessor.supergraph.response configured in their router.yaml and also to support either @defer or Subscriptions.

References

  • github.com/advisories/GHSA-r344-xw3p-2frj
  • github.com/apollographql/router
  • github.com/apollographql/router/commit/b917b8c117b46a2d508428c0856f4927dfcfc341
  • github.com/apollographql/router/issues/4013
  • github.com/apollographql/router/pull/4014
  • github.com/apollographql/router/security/advisories/GHSA-r344-xw3p-2frj
  • nvd.nist.gov/vuln/detail/CVE-2023-45812

Code Behaviors & Features

Detect and mitigate CVE-2023-45812 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 starting from 1.31.0 before 1.33.0

Fixed versions

  • 1.33.0

Solution

Upgrade to version 1.33.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-703: Improper Check or Handling of Exceptional Conditions
  • CWE-754: Improper Check for Unusual or Exceptional Conditions

Source file

cargo/apollo-router/CVE-2023-45812.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Mon, 12 May 2025 12:14:59 +0000.