Advisory

GHSA-xqg8-cv3h-xppv

Also known as: CVE-2015-1369

Summary

SQL Injection in sequelize

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2017-10-24 18:33 UTC
Modified
2023-11-08 03:57 UTC

Affected packages and fixes

sequelize

npm · All systems

Affected

  • introduced 0, fixed 2.0.0-rc8 (semver)

Fixed versions

2.0.0-rc8

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences