An open API service providing security vulnerability metadata for many open source software ecosystems.

MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTYzbTQtZmhmMi1jbWY3

Critical EPSS: 0.03342% (0.86756 Percentile) EPSS:

Command Execution in windows-cpu

Affected Packages Affected Versions Fixed Versions
npm:windows-cpu
PURL: pkg:npm/windows-cpu
< 0.1.5 0.1.5
12 Dependent packages
19 Dependent repositories
4,479 Downloads last month

Affected Version Ranges

All affected versions

0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4

All unaffected versions

0.1.5, 0.1.6, 1.0.0, 1.0.1, 1.1.0

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.

References: