原始 OSV JSON{
"id": "GHSA-3gx7-xhv7-5mx3",
"aliases": [
"CVE-2019-15657"
],
"details": "Versions of `eslint-utils` >=1.2.0 or <1.4.1 are vulnerable to Arbitrary Code Execution. The `getStaticValue` does not properly sanitize user input allowing attackers to supply malicious input that executes arbitrary code during the linting process. The `getStringIfConstant` and `getPropertyName` functions are not affected.\n\n\n## Recommendation\n\nUpgrade to version 1.4.1 or later.",
"summary": "Arbitrary Code Execution in eslint-utils",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.2.0"
},
{
"fixed": "1.4.1"
}
]
}
],
"package": {
"name": "eslint-utils",
"ecosystem": "npm"
}
}
],
"modified": "2021-08-31T21:04:30Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2019-08-26T16:59:56Z",
"references": [
{
"url": "https://github.com/mysticatea/eslint-utils/security/advisories/GHSA-3gx7-xhv7-5mx3",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-15657",
"type": "ADVISORY"
},
{
"url": "https://github.com/mysticatea/eslint-utils/commit/08158db1c98fd71cf0f32ddefbc147e2620e724c",
"type": "WEB"
},
{
"url": "https://eslint.org/blog/2019/08/eslint-v6.2.1-released",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-3gx7-xhv7-5mx3",
"type": "ADVISORY"
},
{
"url": "https://github.com/mysticatea/eslint-utils",
"type": "PACKAGE"
},
{
"url": "https://www.npmjs.com/advisories/1118",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T20:55:11Z"
}
}