Command Injection

Affecting kill-process-on-port package, ALL versions

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

Affected versions of this package are vulnerable to Command Injection via a.getProcessPortId.

PoC

var a = require("kill-process-occupying-port");
a.getProcessPortId("& touch JHU #");

Remediation

There is no fixed version for kill-process-on-port.

CVSS Score

7.3
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    Low
  • Availability
    Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Credit
JHU System Security Lab
CVE
CVE-2020-28426
CWE
CWE-78
Snyk ID
SNYK-JS-KILLPROCESSONPORT-1055458
Disclosed
11 Dec, 2020
Published
01 Feb, 2021