Advisory

GHSA-4j6x-w426-6rc6

Also known as: None

Summary

Default Express middleware security check is ignored in production

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/[email protected]

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/

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-11-08 17:31 UTC
Modified
2020-06-16 20:58 UTC

Affected packages and fixes

@cubejs-backend/api-gateway

npm · All systems

Affected

  • introduced 0.11.0, fixed 0.11.17 (semver)

Fixed versions

0.11.17

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences