CVE-2019-15609: Command Injection in kill-port-process

kill-port-process Updated 02 Oct 2025

Summary

10/02/2022
Yes i
High
9.8

CVE-2019-15609: OS Command Injection and Command Injection in kill-port-process. Affects kill-port-process versions < 2.2.1. Fixed in 2.2.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The kill-port-process package is an npm package used for killing processes running on specific ports. It provides a convenient way to terminate processes that are occupying certain ports. However, versions prior to 2.2.0 are vulnerable to a Command Injection vulnerability.

Vulnerability Detail

The Command Injection vulnerability in kill-port-process allows an attacker to execute arbitrary commands on the host system by injecting malicious input. This can lead to unauthorized access, data breaches, or even complete compromise of the affected system. The vulnerability is rated as HIGH severity with a CVSS score of 9.8.

How To Fix

Minimum fixed version

2.2.1

This is the first release that contains the fix.

npm install kill-port-process@2.2.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to update to the fixed version of the kill-port-process package to mitigate the risk of exploitation.

Conclusion

The Command Injection vulnerability in the kill-port-process package can have severe consequences, including unauthorized access and data breaches. It is crucial to update to version 2.2.1 or later to mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for kill-port-process →

Share this vulnerability

FAQ

This vulnerability allows an attacker to execute arbitrary commands on the host system, potentially leading to unauthorized access, data breaches, or complete compromise of the affected system.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

Yes, upgrading to version 2.2.1 or later of the kill-port-process package fixes this vulnerability. Make sure to update your package by running 'npm install kill-port-process@2.2.1'.

There are no known workarounds for this vulnerability. It is essential to update to the fixed version of the kill-port-process package.

How To Fix

Minimum fixed version

2.2.1

This is the first release that contains the fix.

npm install kill-port-process@2.2.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback