CVE-2016-10553 Potential SQL Injection in sequelize
An SQL injection vulnerability in the Sequelize ORM allows attackers to manipulate database queries, potentially leading to unauthorized data access or modification.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-10553?
CVE-2016-10553 is a critical SQL injection vulnerability in HackerOne sequelize node module, published on 31 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
sequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usable data for NodeJS. A fix was pushed out that fixed potential SQL injection in sequelize 2.1.3 and earlier.
Weakness: CWE-89
Which versions are affected by CVE-2016-10553?
2 open source packages ship an affected version, including sequelize. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sequelize npm | All versions | 3.0.0 |
sequelize npm | All versions | 3.0.0 |
Products include Sequelizejs Sequelize.
How do I fix CVE-2016-10553?
Upgrade sequelize to 3.0.0 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2016-10553 being exploited?
There is no known exploitation of CVE-2016-10553 in the wild and no public exploit code.
Other vulnerabilities in HackerOne sequelize node module
Sources
Also known as GHSA-2v7q-2xqx-f4q5.