CVE-2021-23355
published medium CVSS 3.1 · 5.6Arbitrary Command Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | ps-kill0 to < unspecified | Affected | Not stated | snyk |
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(){});
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.6 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | ps-kill | 0 to < unspecified (affected · custom) | snyk · cna |
Weaknesses
1- Arbitrary Command Injection
References
1Provider assertions
2snyk · cna
Arbitrary Command Injection
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 13e86a9da81702ecdb97f56e32508a17288b48ab8fbb21aebfc07aed37125b7f
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record