sequelize
Affected
- introduced
0, fixed2.0.0-rc8(semver)
Fixed versions
2.0.0-rc8
Fix
- Fixed version
2.0.0-rc8npm install [email protected]
Advisory
Also known as: CVE-2015-1369
SQL Injection in sequelize
Versions 2.0.0-rc-7 and earlier of sequelize are affected by a SQL injection vulnerability when user input is passed into the order parameter.
Proof of Concept
Test.findAndCountAll({
where: { id :1 },
order : [['id', 'UNTRUSTED USER INPUT']]
})
Recommendation
Update to version 2.0.0-rc8 or later
High Basis: The source's own band: HIGH
0, fixed 2.0.0-rc8 (semver)2.0.0-rc8
2.0.0-rc8npm 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