Arbitrary command injection in kill-by-port
Priority MEDIUM 42CWE-78Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
EPSS 0.01765 78th percentileScored 2026-11-07
Fix Fixed kill-by-port: 0.0.2kill-by-port (npm): 0.0.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | kill-by-port | before 0.0.2 | 0.0.2 | Patch available | CNA |
| — | kill-by-port (npm) | before 0.0.2 | 0.0.2 | Patch available | GHSA-mm4f-47ch-f7hx |
- kill-by-port Vendor— Affected before 0.0.2 Fixed in 0.0.2 Patch available CNA
- kill-by-port (npm) Vendor— Affected before 0.0.2 Fixed in 0.0.2 Patch available GHSA-mm4f-47ch-f7hx
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:kill-by-port_project:kill-by-port:*:*:*:*:*:node.js:*:* | before 0.0.2 | Vulnerable | Kill-by-port Project |
- cpe:2.3:a:kill-by-port_project:kill-by-port:*:*:*:*:*:node.js:*:* Versions before 0.0.2 Vulnerable ·Kill-by-port Project
Remediation
- Fix · CNA kill-by-port Fixed in 0.0.2
- Fix · GHSA-mm4f-47ch-f7hx kill-by-port (npm) Fixed in 0.0.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-23363
- 2026-10-03 Alias added: GHSA-mm4f-47ch-f7hx
References
Sources
- CVE-2021-23363 · CVE Program
- CVE-2021-23363 · NVD
- FIRST EPSS
- GHSA-mm4f-47ch-f7hx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences