Vulnerability Details : CVE-2019-10752
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.
Vulnerability category: Sql Injection
Products affected by CVE-2019-10752
- cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-10752
0.27%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 68 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-10752
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2019-10752
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-10752
-
https://github.com/sequelize/sequelize/commit/9bd0bc111b6f502223edf7e902680f7cc2ed541e
fix(sequelize.json.fn): use common path extraction for mysql/mariadb/… · sequelize/sequelize@9bd0bc1 · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-SEQUELIZE-459751
SQL Injection in sequelize | SnykExploit;Third Party Advisory
Jump to