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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.43% (76th percentile)

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 Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-KILLPORT-173974
  • published18 Mar 2019
  • disclosed18 Mar 2019
  • creditCristian-Alexandru Staicu

Introduced: 18 Mar 2019

CVE-2019-5414  (opens in a new tab)
CWE-94  (opens in a new tab)

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.

CVSS Scores

version 3.1