GitHub Advisoryadvisory · npm

GHSA-63m4-fhf2-cmf7 Command Execution in windows-cpu

CRITICAL Published 2020-09-01 Modified 2023-09-08 Official page ↗
Aliases
CVE-2017-1000219
Ecosystem
npm
Packages
windows-cpu
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Reviewed
2020-08-31

Affected packages

• npm windows-cpu: < 0.1.5 → fixed in 0.1.5

Description

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. Proof of Concept ```js var win = require('windows-cpu'); wind.findLoad('foo & calc.exe'); ``` Recommendation Update to version 0.1.5 or later.

Related

Alias · CVE (1)

  • CVE-2017-1000219 npm/KyleRoss windows-cpu all versions vulnerable to command injection resulting in code execution as Node.js user vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References