CVE-2021-23363 Arbitrary Command Injection
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2021-23363?
CVE-2021-23363 is a medium-severity vulnerability in kill-by-port, published on 30 Mar 2021.
Official description
This affects the package kill-by-port before 0.0.2. If (attacker-controlled) user input is given to the killByPort function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
Weakness: CWE-78
Which versions are affected by CVE-2021-23363?
2 open source packages ship an affected version, including kill-by-port. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
kill-by-port npm | All versions | 0.0.2 |
kill-by-port npm | All versions | 0.0.2 |
Products include Kill-by-Port Project Kill-by-Port.
How do I fix CVE-2021-23363?
Upgrade kill-by-port to 0.0.2 or later.
Is CVE-2021-23363 being exploited?
There is no known exploitation of CVE-2021-23363 in the wild and no public exploit code.
Sources
Also known as GHSA-mm4f-47ch-f7hx, SNYK-JS-KILLBYPORT-1078531.