Loading...
Skip to main content

CVE-2023-45812

HIGH

Apollo Router vulnerable to Improper Check or Handling of Exceptional Conditions

Published October 19, 2023Updated November 8, 2023Source: osv

Summary

### Impact 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. ### Patches Router version 1.33.0 has a fix for this vulnerability. https://github.com/apollographql/router/pull/4014 fixes the issue. ### Workarounds For affected versions, avoid using the coprocessor supergraph response: ```yml # do not use this stage in your coprocessor configuration coprocessor: supergraph: response: ``` Or you can disable defer and subscriptions support: ```yml # disable defer and subscriptions: supergraph: defer_support: false # enabled by default subscription: enabled: false # disabled by default ``` and continue to use the coprocessor supergraph response. ### References https://github.com/apollographql/router/issues/4013

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update apollo-router to 1.33.0 or later
cargo update -p apollo-router --precise 1.33.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

PackageEcosystemAffectedFixed In
apollo-router
crates.io
All versions1.33.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Frequently Asked Questions

What is CVE-2023-45812?
Apollo Router vulnerable to Improper Check or Handling of Exceptional Conditions This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2023-45812?
CVE-2023-45812 affects apollo-router. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-45812 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-r344-xw3p-2frj

Related CVEs

  • CVE-2024-32971
    CRITICAL

    Apollo Router vulnerable to Critical Regression In Query Plan Cache

  • CVE-2025-32034
    HIGH

    Apollo Router Query Planner Vulnerable to Excessive Resource Consumption via Named Fragment Expansion

  • CVE-2025-32033
    HIGH

    Apollo Router Operation Limits Vulnerable to Bypass via Integer Overflow

  • CVE-2025-32032
    HIGH

    Apollo Router Query Planner Vulnerable to Excessive Resource Consumption via Optimization Bypass

  • CVE-2024-28101
    HIGH

    Apollo Router's Compressed Payloads do not respect HTTP Payload Limits

  • CVE-2024-43414
    HIGH

    Apollo Query Planner and Apollo Gateway may infinitely loop on sufficiently complex queries

  • CVE-2025-64347
    HIGH

    Apollo Router Improperly Enforces Renamed Access Control Directives

  • CVE-2025-64173
    HIGH

    Apollo Router Affected by an Access Control Bypass on Polymorphic Types

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies