VDB
Sign up
CRITICAL9.8

GHSA-2598-2f59-rmhq

SQL Injection in sequelize

Quick fix

GHSA-2598-2f59-rmhq — sequelize: upgrade to the fixed version with the command below.

npm install sequelize@3.35.1

Details

Versions of `sequelize` prior to 3.35.1 are vulnerable to SQL Injection. The package fails to sanitize JSON path keys in the Postgres dialect, which may allow attackers to inject SQL statements and execute arbitrary SQL queries.

## Recommendation

Upgrade to version 3.35.1 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/sequelize
Introduced in: 0Fixed in: 3.35.1
Fixnpm install sequelize@3.35.1

References