High severity7.5NVD Advisory· Published Mar 18, 2021· Updated Jun 17, 2026
CVE-2021-23359
CVE-2021-23359
Description
This affects all versions of package port-killer. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
port-killernpm | <= 1.0.1 | — |
Affected products
3- cpe:2.3:a:port-killer_project:port-killer:*:*:*:*:*:node.js:*:*
- port-killer/port-killerdescription
Patches
Vulnerability mechanics
References
4- snyk.io/vuln/SNYK-JS-PORTKILLER-1078533nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-2548-q746-x5x6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-23359ghsaADVISORY
- github.com/tylerjpeterson/port-killer/blob/1ca3a99ad80cc9ed5498d12b185189c10329025b/index.js%23L19nvdBroken LinkWEB
News mentions
0No linked articles in our index yet.