high7.5
CVE-2015-1369
SQL Injection in sequelize
Impact
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 ```javascript Test.findAndCountAll({ where: { id :1 }, order : [['id', 'UNTRUSTED USER INPUT']] }) ``` ## Recommendation Update to version 2.0.0-rc8 or later
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | sequelize | <= 2.0.0-rc7 | 2.0.0-rc8 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Sequelize Project | Sequelize | through 2.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2015/01/23/2
- https://github.com/sequelize/sequelize/pull/2919
- https://nodesecurity.io/advisories/sequelize-sql-injection-order
- https://github.com/advisories/GHSA-xqg8-cv3h-xppv
- https://nvd.nist.gov/vuln/detail/CVE-2015-1369
- https://github.com/sequelize/sequelize/issues/2906
- https://www.npmjs.com/advisories/33