sequelize
Affected
- introduced
0, fixed3.35.1(semver)
Fixed versions
3.35.1
Fix
- Fixed version
3.35.1npm install [email protected]
Advisory
Also known as: CVE-2019-10748, SNYK-JS-SEQUELIZE-450221
SQL Injection in sequelize
Affected versions of sequelize are vulnerable to SQL Injection. The package fails to sanitize JSON path keys in the MariaDB and MySQL dialects, which may allow attackers to inject SQL statements and execute arbitrary SQL queries.
Recommendation
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 3.35.1 (semver)3.35.1
3.35.1npm install [email protected]4.0.0, fixed 4.44.3 (semver)4.44.3
4.44.3npm install [email protected]5.0.0, fixed 5.8.11 (semver)5.8.11
5.8.11npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0