Lucene search

K
cvelistSnykCVELIST:CVE-2021-23360
HistoryMar 21, 2021 - 3:45 p.m.

CVE-2021-23360 Arbitrary Command Injection

2021-03-2115:45:15
snyk
www.cve.org
2
cve-2021-23360
arbitrary command injection
killport package
input sanitization
child_process exec function

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P

AI Score

9.2

Confidence

High

EPSS

0.002

Percentile

60.2%

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.

CNA Affected

[
  {
    "product": "killport",
    "vendor": "n/a",
    "versions": [
      {
        "lessThan": "1.0.2",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P

AI Score

9.2

Confidence

High

EPSS

0.002

Percentile

60.2%

Related for CVELIST:CVE-2021-23360