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)

EPSS: 0.017 (74.1th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.