🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
Sequelize 6.28.2 and prior has a dangerous feature where using parentheses in the attribute option would make Sequelize use the string as-is in the SQL
In Sequelize 6, it throws an error explaining that we had to introduce a breaking change, and requires the user to explicitly opt-in to either the Sequelize 7 behavior (always escape) or the Sequelize 5 behavior (inline attributes that include () without escaping). See #15710 for more information.
Mitigations
Do not use user-provided content to build your list or attributes. If you do, make sure that attribute in question actually exists on your model by checking that it exists in the rawAttributes property of your model first.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu cancel merge
Cancels automatic merging of this PR
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ sequelize (6.25.7 → 6.34.0) · Repo
Security Advisories 🚨
🚨 Sequelize - Default support for “raw attributes” when using parentheses
🚨 Unsafe fall-through in getWhereConditions
🚨 Sequelize information disclosure vulnerability
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 36 commits:
fix(oracle): clean constraints (#16694)
fix(oracle): add missing default and not null condition to addColumn (#16619)
feat(oracle): add support for lock (#16643)
meta: add node-gyp globally (#16696)
docs: add missing conflictAttributes to bulkCreate (#16573)
feat(types): add TypeScript 5.2 support (#16442)
meta: update lockfile (#16265)
fix(types): remove escape from query-interface types (#15944)
fix: bump dependencies (#16119)
fix: move `types` condition to the front (#16085)
feat(oracle): add width support for numerictype (#16073)
feat(oracle): add new error messages introduced in new driver version (#16075)
fix(oracle): reordered check constraint for unsigned numeric type (#16074)
fix(oracle): For Raw queries avoid converting the input parameters passed (#16067)
meta: use Node 18 in CI (#16000)
fix(postgres): adds support for minifying through join aliases (#15897)
feat: add beforePoolAcquire and afterPoolAcquire hooks (#15874)
fix(postgres): prevent crash if postgres connection emits multiple errors (#15868)
fix: update Slack invitation link (#15849)
feat(postgres, sqlite): add conflictWhere option to Model.bulkCreate (#15788)
meta(db2): remove node:util (#15819)
feat(postgres, sqlite): allow override of conflict keys for bulkCreate (#15787)
fix: pass CLS transaction to model hooks (#15818)
feat(postgres, sqlite): add conflictWhere option to upsert (#15786)
fix: fix unnamed dollar string detection (#15759)
fix(postgres): escape identifier in createSchema and dropSchema (#15752)
fix(postgres): make sync not fail when trying to create existing enum (#15718)
feat: throw an error if attribute includes parentheses (fixes CVE-2023-22578) (#15710)
meta: fix null test getWhereConditions (#15705)
fix: accept undefined in where (#15703)
fix: throw if where receives an invalid value (#15699)
fix: update moment-timezone version (#15685)
feat(types): use retry-as-promised types for retry options to match documentation (#15484)
feat: add support for bigints (backport of #14485) (#15413)
feat(postgres): add support for lock_timeout [#15345] (#15355)
fix(oracle): remove hardcoded maxRows value (#15323)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands