Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| sequelize | sequelize | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Sequelizejs | Sequelize |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6457-6jrx-69cr | Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.480% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Sequelizejs
Sequelizejs sequelize |
|
| Vendors & Products |
Sequelizejs
Sequelizejs sequelize |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | SQL Injection via JSON Column Cast Type in Sequelize v6 | Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Sequelize is a Node.js ORM tool. Prior to 6.37.8, there is SQL injection via unescaped cast type in JSON/JSONB where clause processing. The _traverseJSON() function splits JSON path keys on :: to extract a cast type, which is interpolated raw into CAST(... AS <type>) SQL. An attacker who controls JSON object keys can inject arbitrary SQL and exfiltrate data from any table. This vulnerability is fixed in 6.37.8. | |
| Title | SQL Injection via JSON Column Cast Type in Sequelize v6 | |
| Weaknesses | CWE-89 | |
| References |
| |
| Metrics |
cvssV3_1
|