CVE-2020-28426 Command Injection
Attackers can execute arbitrary commands via the getProcessPortId function in the kill-process-on-port npm package.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-28426?
CVE-2020-28426 is a high-severity command injection vulnerability in kill-process-on-port, published on 1 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of package kill-process-on-port are vulnerable to Command Injection via a.getProcessPortId.
Weakness: CWE-78
Which versions are affected by CVE-2020-28426?
2 open source packages ship an affected version, including kill-process-on-port. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
kill-process-on-port npm | All versions to 1.0.2 | None |
kill-process-on-port npm | All versions to 1.0.2 | None |
Products include Kill-Process-on-Port Project Kill-Process-on-Port.
How do I fix CVE-2020-28426?
No fix has been published for CVE-2020-28426 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-28426 being exploited?
There is no known exploitation of CVE-2020-28426 in the wild and no public exploit code.
Sources
Also known as GHSA-5wqj-f379-6jh4.