CVE-2017-1000219 Command Execution in windows-cpu
The windows-cpu npm package allows command injection, enabling attackers to execute arbitrary code as the Node.js user.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-1000219?
CVE-2017-1000219 is a critical command injection vulnerability in n/a, published on 17 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
npm/KyleRoss windows-cpu all versions vulnerable to command injection resulting in code execution as Node.js user
Weakness: CWE-78
Which versions are affected by CVE-2017-1000219?
2 open source packages ship an affected version, including windows-cpu. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
windows-cpu npm | All versions | 0.1.5 |
windows-cpu npm | All versions | 0.1.5 |
Products include Windows-Cpu Project Windows-Cpu.
How do I fix CVE-2017-1000219?
Upgrade windows-cpu to 0.1.5 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2017-1000219 being exploited?
There is no known exploitation of CVE-2017-1000219 in the wild and no public exploit code.
Sources
Also known as GHSA-63m4-fhf2-cmf7.