RCE in Port-Killer Project
CVE-2021-23359
This affects all versions of package port-killer. 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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.017 (75.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 75.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000
Affected products
- Port-Killer Project
- Port-Killer — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-PORTKILLER-1078533 (Exploit, Third Party Advisory)
- github.com/tylerjpeterson/port-killer/blob/1ca3a99ad80cc9ed5498d12b185189c10329… (Broken Link)
Frequently asked questions
- What is CVE-2021-23359?
- CVE-2021-23359 is a high-severity vulnerability in Port-Killer Project, classified under OS Command Injection. CVSS score: 7.5/10. Published 2021-03-18.
- How severe is CVE-2021-23359?
- High severity. CVSS v3 base score is 7.5 out of 10.