Command Injection Affecting kill-port-process package, versions <2.2.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.96% (84th 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 ID SNYK-JS-KILLPORTPROCESS-543829
  • published 31 Jan 2020
  • disclosed 30 Jan 2020
  • credit effectrenan

How to fix?

Upgrade kill-port-process to version 2.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection. An attacker able to control the port number can insert a shell command instead of a port number, due to weak sanitisation. The command will run under the root user, since the root user is the only user able to execute the kill command.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
6.1 medium
  • Attack Vector (AV)
    Physical
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

9.8 critical