HighGHSA-98pq-pmw9-4gpmCVE-2016-10550

SQL Injection in sequelize

Published 18 Feb 2019 · Updated 8 Nov 2023

Affected package

Affected
<3.17.0
Fixed in
3.17.0
Update to the fixed version for your release line, for example:npm install sequelize@3.17.0

Details

Affected versions of sequelize are vulnerable to SQL Injection in locations where user input is passed into the limit or order parameters of sequelize query calls, such as findOne or findAll.

Recommendation

Update to version 3.17.0 or later.

Is GHSA-98pq-pmw9-4gpm in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected sequelize, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.