CVE-2019-10752
SQL Injection in sequelize
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
Sequelize, all versions prior to version 4.44.3 and 5.15.1, is vulnerable to SQL Injection due to sequelize.json() helper function not escaping values properly when formatting sub paths for JSON queries for MySQL, MariaDB and SQLite.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | sequelize | 4.44.3, 5.15.1 |
References
- https://github.com/sequelize/sequelize/commit/9bd0bc1%2C
- https://github.com/sequelize/sequelize/commit/9bd0bc111b6f502223edf7e902680f7cc2ed541e
- https://github.com/sequelize/sequelize/pull/11329
- https://nvd.nist.gov/vuln/detail/CVE-2019-10752
- https://snyk.io/vuln/SNYK-JS-SEQUELIZE-459751
- https://snyk.io/vuln/SNYK-JS-SEQUELIZE-459751%2C
- https://www.npmjs.com/advisories/1146