Severity
8.2
High severity
Details
- CVSS score
- 8.2
- CVSS vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Overview
About vulnerability
GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. Prior to version 1.1.36 of the GraphQL Tools legacy WebSocket executor package, buildWSLegacyExecutor in packages/executors/legacy-ws/src/index.ts retains request.extensions.connectionParams in the closure-scoped executorConnectionParams object after cleanupWebsocket closes a connection. When one executor is reused across different authorization contexts, a later request that omits a sensitive key can send an earlier caller’s Authorization or tenant value in its connection_init payload, causing the downstream server to authenticate the later caller as the earlier user. Applications that create a new executor for every request are not affected. This issue is fixed in version 1.1.36 of the GraphQL Tools legacy WebSocket executor package.Details
- Affected product:
- gateway , graphql-code-generator , graphql-config , graphql-hive-cli , graphql-hive-gateway , graphql-hive/console , graphql-inspector-cli , graphql-inspector-url-loader , graphql-language-service-server , graphql-mesh-graphql , graphql-mesh-supergraph , graphql-tools , graphql-tools-executor-legacy-ws , graphql-tools-url-loader , graphql-yoga-graphiql
- Affected packages:
- @graphql-tools/executor-legacy-ws @ 1.1.27 (+213 more)