Skip to content

CVE-2021-23359 Arbitrary Command Injection

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

Description

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.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
port-killer project port-killer All versions No fix listed No fix yet
npm port-killer(npm) <= 1.0.1 after 1.0.1 Fixed

Affected products

ProductAffected versionsFixed in
npm port-killer(npm) <= 1.0.1 No fix listed
port-killer project port-killer All versions No fix listed

References