原始 OSV JSON{
"id": "GHSA-j9xp-92vc-559j",
"aliases": [
"CVE-2019-10748"
],
"details": "Affected versions of `sequelize` are vulnerable to SQL Injection. The package fails to sanitize JSON path keys in the MariaDB and MySQL dialects, which may allow attackers to inject SQL statements and execute arbitrary SQL queries.\n\n\n## Recommendation\n\nIf you are using `sequelize` 5.x, upgrade to version 5.8.11 or later.\nIf you are using `sequelize` 4.x, upgrade to version 4.44.3 or later.\nIf you are using `sequelize` 3.x, upgrade to version 3.35.1 or later.",
"summary": "SQL Injection in sequelize",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.35.1"
}
]
}
],
"package": {
"name": "sequelize",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.44.3"
}
]
}
],
"package": {
"name": "sequelize",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.8.11"
}
]
}
],
"package": {
"name": "sequelize",
"ecosystem": "npm"
}
}
],
"modified": "2021-08-18T22:09:33Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2019-11-06T17:11:10Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-10748",
"type": "ADVISORY"
},
{
"url": "https://github.com/sequelize/sequelize/pull/11089,",
"type": "WEB"
},
{
"url": "https://github.com/sequelize/sequelize/commit/a72a3f5,",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-SEQUELIZE-450221",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/1018",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-89"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2019-11-05T19:59:46Z"
}
}