{"id":"CVE-2023-45812","state":"PUBLISHED","title":"Improper Check or Handling of Exceptional Conditions in apollo-router","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.","publishedAt":"2023-10-18T21:29:32.731Z","updatedAt":"2024-09-13T15:02:17.414Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["apollographql router"],"affected":[{"vendor":"apollographql","product":"router","versions":[{"version":">= 1.31.0, < 1.33.0","status":"affected"}]}],"references":["https://github.com/apollographql/router/security/advisories/GHSA-r344-xw3p-2frj","https://github.com/apollographql/router/pull/4014"],"weaknesses":["CWE-754"],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/45xxx/CVE-2023-45812.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-45812","state":"PUBLISHED","datePublished":"2023-10-18T21:29:32.731Z","dateUpdated":"2024-09-13T15:02:17.414Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-10-13T12:00:50.437Z"},"containers":{"cna":{"title":"Improper Check or Handling of Exceptional Conditions in apollo-router","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"apollographql","product":"router","versions":[{"version":">= 1.31.0, < 1.33.0","status":"affected"}]}],"references":[{"url":"https://github.com/apollographql/router/security/advisories/GHSA-r344-xw3p-2frj","name":"https://github.com/apollographql/router/security/advisories/GHSA-r344-xw3p-2frj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/apollographql/router/pull/4014","name":"https://github.com/apollographql/router/pull/4014","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-754","lang":"en","description":"CWE-754: Improper Check for Unusual or Exceptional Conditions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-10-18T21:29:32.731Z"},"source":{"advisory":"GHSA-r344-xw3p-2frj","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/apollographql/router/security/advisories/GHSA-r344-xw3p-2frj","name":"https://github.com/apollographql/router/security/advisories/GHSA-r344-xw3p-2frj","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/apollographql/router/pull/4014","name":"https://github.com/apollographql/router/pull/4014","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T20:29:32.278Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"apollographql","product":"apollo_router","defaultStatus":"unknown","versions":[{"version":"1.31.0","status":"affected","lessThanOrEqual":"1.33.0","versionType":"custom"}],"cpes":["cpe:2.3:a:apollographql:apollo_router:1.31.0:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-13T14:58:32.929626Z","id":"CVE-2023-45812","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-13T15:02:17.414Z"}}]}}}