原始 OSV JSON{
"id": "GHSA-63m4-fhf2-cmf7",
"aliases": [
"CVE-2017-1000219"
],
"details": "Version of `windows-cpu` before 0.1.5 will execute arbitrary code passed into the first argument of the `findLoad` method, resulting in remote code execution.\n\n## Proof of Concept\n\n```js\nvar win = require('windows-cpu');\nwind.findLoad('foo & calc.exe');\n```\n\n\n## Recommendation\n\nUpdate to version 0.1.5 or later.",
"summary": "Command Execution in windows-cpu",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.1.5"
}
]
}
],
"package": {
"name": "windows-cpu",
"ecosystem": "npm"
}
}
],
"modified": "2023-09-08T18:52:10Z",
"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": "2020-09-01T16:43:55Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000219",
"type": "ADVISORY"
},
{
"url": "https://github.com/KyleRoss/windows-cpu/commit/b75e19aa2f7459a9506bceb577ba2341fe273117",
"type": "WEB"
},
{
"url": "https://github.com/KyleRoss/windows-cpu",
"type": "PACKAGE"
},
{
"url": "https://github.com/KyleRoss/windows-cpu/blob/master/index.js#L81",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/336",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-08-31T18:19:44Z"
}
}