{"id":"CVE-2023-45812","aliases":["CVE-2023-45812","GHSA-r344-xw3p-2frj"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Check or Handling of Exceptional Conditions in apollo-router","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe 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.\n \nTo 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.  \n\n### Patches\nRouter version 1.33.0 has a fix for this vulnerability. https://github.com/apollographql/router/pull/4014 fixes the issue.  \n\n### Workarounds\nFor affected versions, avoid using the coprocessor supergraph response:\n```yml\n# do not use this stage in your coprocessor configuration\ncoprocessor:\n  supergraph:\n    response:\n``` \n\nOr you can disable defer and subscriptions support:\n```yml\n# disable defer and subscriptions:\nsupergraph:\n  defer_support: false # enabled by default\nsubscription:\n  enabled: false # disabled by default\n```\nand continue to use the coprocessor supergraph response.\n### References\nhttps://github.com/apollographql/router/issues/4013","format":"markdown","source":"ghsa"},{"lang":"es","text":"Apollo Router es un router de gráficos configurable y de alto rendimiento escrito en Rust para ejecutar un supergrafo federado que utiliza Apollo Federation. Las versiones afectadas están sujetas a una vulnerabilidad de tipo Denegación de Servicio (DoS) que hace que el Router entre en pánico y finalice cuando se envía una respuesta de varias partes. Cuando los usuarios envían consultas al Router que utiliza `@defer` o Suscripciones, el Router entrará en pánico. Para ser vulnerables, los usuarios de Router deben tener un coprocesador con `coprocessor.supergraph.response` configurado en su `router.yaml` y también admitir `@defer` o Suscripciones. La versión 1.33.0 de Apollo Router tiene una solución para esta vulnerabilidad que se introdujo en el PR #4014. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben evitar el uso de la respuesta supergraph del coprocesador o desactivar el soporte de aplazamiento y suscripciones y continuar usando la respuesta supergraph del coprocesador.","source":"nvd"}],"published":"2023-10-18T21:29:32.731Z","modified":"2026-09-10T03:49:24.652Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-703","CWE-754"],"affected":[{"ranges":[{"version":">= 1.31.0, < 1.33.0","status":"affected"}],"vendor":"apollographql","product":"router","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1.31.0","lastAffected":"1.33.0","status":"affected"}],"vendor":"apollographql","product":"apollo_router","cpe":"cpe:2.3:a:apollographql:apollo_router:1.31.0:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.31.0","status":"affected","fixed":"1.33.0"}],"ecosystem":"crates.io","package":"apollo-router","purl":"pkg:cargo/apollo-router","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.31.0","lastAffected":"1.32.0"}],"vendor":"apollographql","product":"apollo_router","cpe":"cpe:2.3:a:apollographql:apollo_router:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"1.31.0","lastAffected":"1.32.0"}],"vendor":"apollographql","product":"apollo_helms-charts_router","cpe":"cpe:2.3:a:apollographql:apollo_helms-charts_router:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/apollographql/router/security/advisories/GHSA-r344-xw3p-2frj","tags":["mitigation","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/apollographql/router/pull/4014","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45812","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apollographql/router/issues/4013","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apollographql/router/commit/b917b8c117b46a2d508428c0856f4927dfcfc341","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apollographql/router","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-09-13T14:58:32.929Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-45812","url":"https://www.cve.org/CVERecord?id=CVE-2023-45812","licence":"CVE Terms of Use","modified":"2024-09-13T15:02:17.414Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r344-xw3p-2frj","url":"https://github.com/advisories/GHSA-r344-xw3p-2frj","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:24.652Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-45812","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45812","licence":"Public domain","modified":"2026-06-17T06:29:34.470Z"}],"updatedAt":"2026-11-25T22:58:28.921Z","epss":{"score":0.00867,"percentile":0.59806,"date":"2026-12-01T12:00:22.000Z"}}