logo

CVE-2021-23359 port-killer

Package

Manager: npm
Name: port-killer
Vulnerable Version: >=0 <=1.0.1

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.0038 pctl0.5868

Details

Code injection in port-killer 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.

Metadata

Created: 2021-04-13T15:20:49Z
Modified: 2021-03-22T20:46:47Z
Source: MANUAL
CWE IDs: ["CWE-20", "CWE-77"]
Alternative ID: GHSA-2548-q746-x5x6
Finding: F422
Auto approve: 1