VDB
Sign up
HIGH

GHSA-4j6x-w426-6rc6

Default Express middleware security check is ignored in production

Quick fix

GHSA-4j6x-w426-6rc6 — @cubejs-backend/api-gateway: upgrade to the fixed version with the command below.

npm install @cubejs-backend/api-gateway@0.11.17

Details

## Default Express middleware security check is ignored in production

### Impact All Cube.js deployments that use affected versions of `@cubejs-backend/api-gateway` with default express authentication middleware in production environment are affected.

### Patches @cubejs-backend/api-gateway@0.11.17

### Workarounds Override default authentication express middleware: https://cube.dev/docs/@cubejs-backend-server-core#options-reference-check-auth-middleware

### For more information If you have any questions or comments about this advisory: * Open an issue in https://github.com/cube-js/cube.js/issues * Reach out us in community Slack: https://slack.cube.dev/

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@cubejs-backend/api-gateway
Introduced in: 0.11.0Fixed in: 0.11.17
Fixnpm install @cubejs-backend/api-gateway@0.11.17

References