CVE-2021-23360
CVSS V2 Medium 6.5
CVSS V3 High 8.8
Description
This affects the package killport before 1.0.2. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.
Overview
- CVE ID
- CVE-2021-23360
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2021-03-21T16:15:12
- Last Modified Date
- 2022-06-28T14:11:45
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:killport_project:killport:*:*:*:*:*:node.js:*:* | 1 | OR | 1.0.2 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/ssnau/killport/blob/5268f23ea8f152e47182b263d8f7ef20c12a9f28/index.js%23L9 | Broken Link |
https://github.com/ssnau/killport/commit/bec8e371f170a12e11cd222ffc7a6e1ae9942638 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-KILLPORT-1078535 | Exploit Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-23360 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23360 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:18:40 | Added to TrackCVE | |||
2022-12-06 00:07:59 | 2021-03-21T16:15Z | 2021-03-21T16:15:12 | CVE Published Date | updated |
2022-12-06 00:07:59 | 2022-06-28T14:11:45 | CVE Modified Date | updated | |
2022-12-06 00:07:59 | Analyzed | Vulnerability Status | updated |