Arbitrary command injection in ps-kill
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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(){});
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ps-kill | all versions | — | No fix listed | CNA |
| — | ps-kill (npm) | up to 1.0.0 | — | No fix listed | GHSA-7qmm-q394-fmch |
- ps-kill Vendor— Affected all versions Fixed in — No fix listed CNA
- ps-kill (npm) Vendor— Affected up to 1.0.0 Fixed in — No fix listed GHSA-7qmm-q394-fmch
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ps-kill_project:ps-kill:*:*:*:*:*:node.js:*:* | all versions | Vulnerable | Ps-kill Project |
- cpe:2.3:a:ps-kill_project:ps-kill:*:*:*:*:*:node.js:*:* Versions all versions Vulnerable ·Ps-kill Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-23355
- 2026-10-03 Alias added: GHSA-7qmm-q394-fmch
References
Sources
- CVE-2021-23355 · CVE Program
- CVE-2021-23355 · NVD
- FIRST EPSS
- GHSA-7qmm-q394-fmch · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences