RCE in Ps-Kill Project
CVE-2021-23355
- CVSS v3
- 5.6 Medium
- Public exploits
- None known
- EPSS
- 0.012 · 69.0th percentile
- Published
- 2021-03-15
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(){});
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.012, 69.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ps-Kill Project
- Ps-Kill — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-PSKILL-1078529 (Exploit, Third Party Advisory)