Advisory

GHSA-63m4-fhf2-cmf7

Also known as: CVE-2017-1000219

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.

Proof of Concept

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

Recommendation

Update to version 0.1.5 or later.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-09-01 16:43 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

windows-cpu

npm · All systems

Affected

  • introduced 0, fixed 0.1.5 (semver)

Fixed versions

0.1.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences