RCE in Kill-By-Port Project
CVE-2021-23363
- CVSS v3
- 6.3 Medium
- Public exploits
- None known
- EPSS
- 0.018 · 78.6th percentile
- Published
- 2021-03-30
This affects the package kill-by-port before 0.0.2. If (attacker-controlled) user input is given to the killByPort 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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.018, 78.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Kill-By-Port Project
- Kill-By-Port — versions unspecified
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-KILLBYPORT-1078531 (Exploit, Third Party Advisory)
- github.com/GuyMograbi/kill-by-port/blob/16dcbe264b6b4a5ecf409661b42836dd286fd43… (Broken Link)
- github.com/GuyMograbi/kill-by-port/commit/ea5b1f377e196a4492e05ff070eba8b30b737… (Patch, Third Party Advisory)