Arbitrary Command Injection Affecting kill-port package, versions <1.3.2


0.0
medium

Snyk CVSS

    Attack Complexity High
    Privileges Required High

    Threat Intelligence

    EPSS 0.43% (75th percentile)
Expand this section
NVD
8.1 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-KILLPORT-173974
  • published 18 Mar 2019
  • disclosed 18 Mar 2019
  • credit Cristian-Alexandru Staicu

How to fix?

Upgrade kill-port to version 1.3.2 or higher.

Overview

kill-port Kills the process running on given port.

Affected versions of this package are vulnerable to Arbitrary Command Injection. If an attacker can control the port, which in itself is a very sensitive value, they can inject arbitrary OS commands due to the usage of the exec function in a third-party module.