CVE-2021-23355
CVSS V2 High 7.5
CVSS V3 Critical 9.8
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(){});
Overview
- CVE ID
- CVE-2021-23355
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2021-03-15T17:15:21
- Last Modified Date
- 2022-06-28T14:11:45
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:ps-kill_project:ps-kill:*:*:*:*:*:node.js:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-PSKILL-1078529 | Exploit Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-23355 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23355 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:19:48 | Added to TrackCVE | |||
2022-12-05 23:45:23 | 2021-03-15T17:15Z | 2021-03-15T17:15:21 | CVE Published Date | updated |
2022-12-05 23:45:23 | 2022-06-28T14:11:45 | CVE Modified Date | updated | |
2022-12-05 23:45:23 | Analyzed | Vulnerability Status | updated |