SQL Injection Affecting sequelize package, versions <6.21.2


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SEQUELIZE-2959225
  • published22 Jul 2022
  • disclosed22 Jul 2022
  • creditclaytoneast

Introduced: 22 Jul 2022

CVE NOT AVAILABLE CWE-89  (opens in a new tab)

How to fix?

Upgrade sequelize to version 6.21.2 or higher.

Overview

sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server.

Affected versions of this package are vulnerable to SQL Injection due to an improper escaping for multiple appearances of $ in a string.

CVSS Scores

version 3.1