Default Express middleware security check is ignored in production
HighPublished Nov 8, 2019 · updated Jun 16, 2020
## 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/
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| @cubejs-backend/api-gateway npm | >= 0.11.0, < 0.11.17 | 0.11.17 |
Details and references
- Severity from
- GitHub (reviewed advisory)
More Cube advisories
All Cube| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Dec 132023 | Cube API denial of service attack | Medium6.5 | 0.34.34 |
| Dec 122022 | @cubejs-backend/api-gateway row level security bypass | High7.7 | 0.31.24 |