Skip to content

CVE-2021-23363 Arbitrary Command Injection

HighCVSS 8.8 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
kill-by-port project kill-by-port < 0.0.2 0.0.2 Fixed
npm kill-by-port(npm) < 0.0.2 0.0.2 Fixed

Affected products

ProductAffected versionsFixed in
npm kill-by-port(npm) < 0.0.2 0.0.2
kill-by-port project kill-by-port < 0.0.2 0.0.2

References