PT-2019-12023 · Sequelize · Sequelize
Published
2019-10-28
·
Updated
2019-11-06
·
CVE-2019-10748
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Sequelize versions prior to 3.35.1
Sequelize versions prior to 4.44.3
Sequelize versions prior to 5.8.11
Description
The issue is related to SQL Injection due to JSON path keys not being properly escaped for the MySQL/MariaDB dialects. This may allow attackers to inject SQL statements and execute arbitrary SQL queries. The package fails to sanitize JSON path keys in the MariaDB and MySQL dialects.
Recommendations
If you are using Sequelize 5.x, upgrade to version 5.8.11 or later.
If you are using Sequelize 4.x, upgrade to version 4.44.3 or later.
If you are using Sequelize 3.x, upgrade to version 3.35.1 or later.
Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Sequelize