ADVISORIES

GitHub Advisory Database

GHSA-mm4f-47ch-f7hx

Arbitrary code execution in kill-by-port

Details

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.

Affected packages

EcosystemPackageAffected versions
npmkill-by-port
All versions before 0.0.2 (fixed in 0.0.2)

References