High severity vulnerability that affects sequelize
Sequelize, all versions prior to version 4.44.3 and 5.15.1, is vulnerable to SQL Injection due to sequelize.json() helper function not escaping values properly when formatting sub paths for JSON queries for MySQL, MariaDB and SQLite.
🚨 We recommend to merge and deploy this update as soon as possible! 🚨
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
sequelize.json.fn: use common path extraction for mysql/mariadb/sqlite (#11329) (9bd0bc1)
This fixes a security issue with sequelize.json() for MySQL. Old code was still used for formatting sub paths for json queries when used with sequelize.json() helper function
This release fixes a SQL injection issue with MySQL/MariaDB dialect. JSON path keys were not properly escaped for these dialects. We advise all v5 users to update to latest release.
Thanks to @Kirill89 from Snyk Security Research Team for reporting this issue.
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 merge
Merges this PR once your tests are passing and conflicts are resolved
@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)
Coverage decreased (-50.4%) to 40.278% when pulling 55f8e2d167cadf45c72df6b82a406d8c571487d9 on depfu/update/yarn/sequelize-5.21.1 into 4f4cb0318de9d9c92f018fca59d7cbd924fd04de on master.
🚨 Your version of sequelize has known security vulnerabilities 🚨
Advisory: CVE-2019-10752 Disclosed: October 25, 2019 URL: https://nvd.nist.gov/vuln/detail/CVE-2019-10752
High severity vulnerability that affects sequelize
🚨 We recommend to merge and deploy this update as soon as possible! 🚨
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ sequelize (5.5.0 → 5.21.1) · Repo
Release Notes
5.21.1
5.21.0
5.20.0
5.19.8
5.19.7
5.19.6
5.19.5
5.19.4
5.19.3
5.19.2
5.19.1
5.19.0
5.18.4
5.18.3
5.18.2
5.18.1
5.18.0
5.17.2
5.17.1
5.17.0
5.16.0
5.15.2
5.15.1
5.15.0
5.14.0
5.13.1
5.13.0
5.12.3
5.12.2
5.12.1
5.12.0
5.11.0
5.10.3
5.10.2
5.10.1
5.10.0
5.9.5
5.9.4
5.9.3
5.9.2
5.9.1
5.9.0
5.8.12
5.8.11
5.8.10
5.8.9
5.8.8
5.8.7
5.8.6
5.8.5
5.8.4
5.8.3
5.8.2
5.8.1
5.8.0
5.7.6
5.7.5
5.7.4
5.7.3
5.7.2
5.7.1
5.7.0
5.6.1
5.6.0
5.5.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
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