Medium severity5.6NVD Advisory· Published Mar 15, 2021· Updated Jun 17, 2026
CVE-2021-23355
CVE-2021-23355
Description
This affects all versions of package ps-kill. If (attacker-controlled) user input is given to the kill 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 in the index.js file. PoC (provided by reporter): var ps_kill = require('ps-kill'); ps_kill.kill('$(touch success)',function(){});
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 |
|---|---|---|
ps-killnpm | <= 1.0.0 | — |
Affected products
3- ps-kill/ps-killdescription
- cpe:2.3:a:ps-kill_project:ps-kill:*:*:*:*:*:node.js:*:*
Patches
Vulnerability mechanics
References
3- snyk.io/vuln/SNYK-JS-PSKILL-1078529nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-7qmm-q394-fmchghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-23355ghsaADVISORY
News mentions
0No linked articles in our index yet.