High severityNVD Advisory· Published Mar 18, 2021· Updated Sep 17, 2024
Arbitrary Command Injection
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
2- port-killer/port-killerdescription
Patches
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-2548-q746-x5x6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-23359ghsaADVISORY
- github.com/tylerjpeterson/port-killer/blob/1ca3a99ad80cc9ed5498d12b185189c10329025b/index.js%23L19ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-PORTKILLER-1078533ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.