ADVISORIES

GitHub Advisory Database

GHSA-63m4-fhf2-cmf7

Command Execution in windows-cpu

Critical 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.

Proof of Concept

var win = require('windows-cpu');
wind.findLoad('foo & calc.exe');

Recommendation

Update to version 0.1.5 or later.

Affected packages

EcosystemPackageAffected versions
npmwindows-cpu
All versions before 0.1.5 (fixed in 0.1.5)

References