CVE-2016-10553 – sequelize
Package
Manager: npm
Name: sequelize
Vulnerable Version: >=0 <3.0.0
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00281 pctl0.51042
Details
Potential SQL Injection in sequelize Affected versions of `sequelize` are vulnerable to SQL Injection when user input is passed into `findOne` or into a statement such as `where: "user input"`. ## Recommendation Update to version 3.0.0 or later. Version 3.0.0 will introduce a number of breaking changes. Thankfully, the project authors have provided a 2.x -> 3.x [upgrade guide](https://github.com/sequelize/sequelize/wiki/Upgrade-from-2.0-to-3.0) to ease this transition. If upgrading is not an option, it is also possible to mitigate this by ensuring that all uses of `where: "input"` and `findOne("input")` are properly sanitized, such as by the use of a wrapper function.
Metadata
Created: 2019-02-18T23:54:32Z
Modified: 2020-08-31T18:11:09Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-2v7q-2xqx-f4q5/GHSA-2v7q-2xqx-f4q5.json
CWE IDs: ["CWE-89"]
Alternative ID: GHSA-2v7q-2xqx-f4q5
Finding: F106
Auto approve: 1