Zooz / predator

A powerful open-source platform for load testing APIs.
https://zooz.github.io/predator/
Apache License 2.0
569 stars 108 forks source link

[Snyk] Security upgrade sequelize from 5.22.3 to 6.19.1 #609

Closed ido-krupkin-zooz closed 2 weeks ago

ido-krupkin-zooz commented 2 years ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=sequelize&from_version=5.22.3&to_version=6.19.1&pr_id=6d468942-acb3-4a56-befa-aa8fc132eb6f&visibility=true&has_feature_flag=false) #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - package.json - package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **863/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 9.4 | SQL Injection
[SNYK-JS-SEQUELIZE-2932027](https://snyk.io/vuln/SNYK-JS-SEQUELIZE-2932027) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: sequelize The new version differs by 250 commits.
  • 6c5f8ec test: disable mysql/mariadb deadlock test (#14514)
  • 87655eb build: fix esdoc (#14513)
  • ccaa399 fix: do not replace `:replacements` inside of strings (#14472)
  • 5954d2c feat(types): make `Model.init` aware of pre-configured foreign keys (#14370)
  • 0d0aade fix(types): make `WhereOptions` more accurate (#14368)
  • 7e8b707 docs: restore Model api reference & make fail on error (#14323)
  • ca0e017 test: disable deadlock test for mariadb 10.5.15 (#14314)
  • 62564f7 docs: fix dead link in API reference (#14313)
  • cdc8881 build: remove v6 docs from repository (#14234)
  • 730af27 docs: document scope whereMergeStrategy option (#14201)
  • 8349c02 feat: add whereScopeStrategy to merge where scopes with Op.and (#14152)
  • e974e20 feat(types): make `Model.getAttributes` stricter (#14017)
  • 2d339d0 fix: fix typo in query-generator.js error message (#14151)
  • b80aeed fix(types): update return type of `Model.update` (#14155)
  • f5c06bd feat(types): infer nullable creation attributes as optional (#14147)
  • af6cbe6 build(deps): move @ types/validator to prod deps (#14159)
  • a81b7ab fix(types): export `GroupedCountResultItem` interface (#14154)
  • da8678d fix(types): drop excess argument for upsert (#14156)
  • 709c830 docs(postgres): clarify pg version for Node >=14 (#14149)
  • 7ac1221 fix(types): update 'replication' option property (#14126)
  • 82506a6 fix(postgres): correctly re-acquire connection for pg-native (#14090)
  • d23bd7a fix(types): support union in CreationAttributes (#14146)
  • 0326c2c fix(types): missing snowflake and db2 dialects (#14137)
  • 664bd12 build: generate jsdoc from src instead of lib (#14094) (#14096)
See the full diff
Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: 🧐 [View latest project report](https://app.snyk.io/org/zooz/project/6159deca-4bd4-4b89-97ac-ba9ace7b3dbb?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/zooz/project/6159deca-4bd4-4b89-97ac-ba9ace7b3dbb?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"6d468942-acb3-4a56-befa-aa8fc132eb6f","prPublicId":"6d468942-acb3-4a56-befa-aa8fc132eb6f","dependencies":[{"name":"sequelize","from":"5.22.3","to":"6.19.1"}],"packageManager":"npm","projectPublicId":"6159deca-4bd4-4b89-97ac-ba9ace7b3dbb","projectUrl":"https://app.snyk.io/org/zooz/project/6159deca-4bd4-4b89-97ac-ba9ace7b3dbb?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-SEQUELIZE-2932027"],"upgrade":["SNYK-JS-SEQUELIZE-2932027"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[863]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [SQL Injection](https://learn.snyk.io/lessons/sql-injection/javascript?loc=fix-pr)