{"id":"GHSA-4j6x-w426-6rc6","summary":"Default Express middleware security check is ignored in production","details":"## Default Express middleware security check is ignored in production\n\n### Impact\nAll Cube.js deployments that use affected versions of `@cubejs-backend/api-gateway` with default express authentication middleware in production environment are affected.\n\n### Patches\n@cubejs-backend/api-gateway@0.11.17\n\n### Workarounds\nOverride default authentication express middleware: https://cube.dev/docs/@cubejs-backend-server-core#options-reference-check-auth-middleware\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/cube-js/cube.js/issues\n* Reach out us in community Slack: https://slack.cube.dev/\n\n","modified":"2020-06-16T20:58:26Z","published":"2019-11-08T17:31:17Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T20:58:26Z","nvd_published_at":null,"cwe_ids":[],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/cube-js/cube.js/security/advisories/GHSA-4j6x-w426-6rc6"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4j6x-w426-6rc6"}],"affected":[{"package":{"name":"@cubejs-backend/api-gateway","ecosystem":"npm","purl":"pkg:npm/%40cubejs-backend/api-gateway"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.0"},{"fixed":"0.11.17"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.11.16","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-4j6x-w426-6rc6/GHSA-4j6x-w426-6rc6.json"}}],"schema_version":"1.9.0"}