{"id":"GHSA-63m4-fhf2-cmf7","summary":"Command Execution in windows-cpu","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.","aliases":["CVE-2017-1000219"],"modified":"2023-11-08T03:58:44.351096Z","published":"2020-09-01T16:43:55Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:19:44Z","nvd_published_at":null,"cwe_ids":["CWE-78"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000219"},{"type":"WEB","url":"https://github.com/KyleRoss/windows-cpu/commit/b75e19aa2f7459a9506bceb577ba2341fe273117"},{"type":"PACKAGE","url":"https://github.com/KyleRoss/windows-cpu"},{"type":"WEB","url":"https://github.com/KyleRoss/windows-cpu/blob/master/index.js#L81"},{"type":"WEB","url":"https://www.npmjs.com/advisories/336"}],"affected":[{"package":{"name":"windows-cpu","ecosystem":"npm","purl":"pkg:npm/windows-cpu"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-63m4-fhf2-cmf7/GHSA-63m4-fhf2-cmf7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}