Vulnerability 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(){});
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ps-Kill Project | Ps-Kill | All versions |
Related Weaknesses (CWE)
References
- https://snyk.io/vuln/SNYK-JS-PSKILL-1078529ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-PSKILL-1078529ExploitThird Party Advisory
FAQ
What is CVE-2021-23355?
CVE-2021-23355 is a vulnerability with a CVSS score of 5.6 (MEDIUM). 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...
How severe is CVE-2021-23355?
CVE-2021-23355 has been rated MEDIUM with a CVSS base score of 5.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23355?
Check the references section above for vendor advisories and patch information. Affected products include: Ps-Kill Project Ps-Kill.