Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency sequelize to v5.15.1 [SECURITY] #113

Merged
merged 1 commit into from
Nov 6, 2019

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 25, 2019

This PR contains the following updates:

Package Type Update Change
sequelize (source) dependencies minor 5.8.5 -> 5.15.1

GitHub Vulnerability Alerts

CVE-2019-10752

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.


Release Notes

sequelize/sequelize

v5.15.1

Compare Source

Security
  • 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

Example of attack vector

return User.findAll({
  where: sequelize.json("data.id')) AS DECIMAL) = 1 DELETE YOLO INJECTIONS; -- ", 1)
});

Thanks to @​Kirill89 from Snyk Security Research Team for reporting this issue.

v5.15.0

Compare Source

Features
  • associations: source and target key support for belongs-to-many (#​11311) (83e263b)

v5.14.0

Compare Source

Features

v5.13.1

Compare Source

Bug Fixes

v5.13.0

Compare Source

Bug Fixes
  • types: return a usable type when using the sequelize.models lookup (#​11293) (a39c63a)
  • types: use correct this value in getterMethods and setterMethods (#​11292) (98a4089)
Features
Performance Improvements

v5.12.3

Compare Source

Bug Fixes
  • postgres: improve ensureEnums to support out of order enum values (#​11249) (bc8c7b9)

v5.12.2

Compare Source

Bug Fixes

v5.12.1

Compare Source

Bug Fixes

v5.12.0

Compare Source

Features

v5.11.0

Compare Source

Bug Fixes
Features

v5.10.3

Compare Source

Bug Fixes
  • sqlite: don't break when adding second constraint to a table (#​11067) (7bf1b71)

v5.10.2

Compare Source

Bug Fixes

v5.10.1

Compare Source

Bug Fixes

v5.10.0

Compare Source

Features

v5.9.5

Compare Source

Bug Fixes
  • mysql/mariadb: treat deadlocked transactions as rollback (#​11074) (003aabc)

v5.9.4

Compare Source

Bug Fixes

v5.9.3

Compare Source

Bug Fixes

v5.9.2

Compare Source

Bug Fixes

v5.9.1

Compare Source

Bug Fixes

v5.9.0

Compare Source

Features
  • hooks: beforeDisconnect / afterDisconnect (#​11117) (7a6cc32)
  • performance: remove last usage of lodash template string in INSERT query generation (#​11122) (d7c3c7df)

v5.8.12

Compare Source

Bug Fixes

v5.8.11

Compare Source

Security Fixes

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.

v5.8.10

Compare Source

Bug Fixes

v5.8.9

Compare Source

Bug Fixes

v5.8.8

Compare Source

Bug Fixes

v5.8.7

Compare Source

Bug Fixes

v5.8.6

Compare Source

Bug Fixes

Renovate configuration

📅 Schedule: "" in timezone Australia/Melbourne.

🚦 Automerge: Enabled.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot requested a review from shavo007 as a code owner October 25, 2019 21:32
@shavo007 shavo007 merged commit 65bd7f4 into master Nov 6, 2019
@shavo007 shavo007 deleted the renovate/npm-sequelize-vulnerability branch November 6, 2019 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants