GitHub Advisoryadvisory · npm

GHSA-xqg8-cv3h-xppv SQL Injection in sequelize

HIGH Published 2017-10-24 Modified 2021-09-22 Official page ↗
Aliases
CVE-2015-1369
Ecosystem
npm
Packages
sequelize
Severity
High
Weaknesses
CWE-89
Reviewed
2020-06-16

Affected packages

• npm sequelize: < 2.0.0-rc8 → fixed in 2.0.0-rc8

Description

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

Related

Alias · CVE (1)

  • CVE-2015-1369 SQL injection vulnerability in Sequelize before 2.0.0-rc7 for Node.js allows remote attackers to execute arbitrary SQL commands via the… vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References