Command Execution in windows-cpu

2020-09-01T16:43:55
ID GHSA-63M4-FHF2-CMF7
Type github
Reporter GitHub Advisory Database
Modified 2020-09-01T16:43:55

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

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

Recommendation

Update to version 0.1.5 or later.