Lucene search

K
nodejsLevan BasharuliNODEJS:33
HistoryOct 17, 2015 - 7:41 p.m.

SQL Injection

2015-10-1719:41:46
Levan Basharuli
www.npmjs.com
12

EPSS

0.002

Percentile

60.4%

Overview

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

References

EPSS

0.002

Percentile

60.4%