Vulnerabilities in pkg:npm/kill-port-process
PACKAGECVE-2019-15609 is a CRITICAL (CVSS 9.8) os command injection and command vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Kill port process libraries in the npm ecosystem. The issue involves os command injection and command injection in kill-port-process. Remediation is available by upgrading affected packages to version 2.2.0.
pkg:npm/kill-port-process
Vulnerability advisories affecting package pkg:npm/kill-port-process. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-xp4x-j9vh-c3wf | CVE-2019-15609 | CRITICAL | OS Command Injection and Command Injection in kill-port-process |
CVE-2019-15609 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-15609
To remediate this vulnerability, upgrade all affected Kill port process dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install kill-port-process@2.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls kill-port-process
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2019-15609, inspect your project dependencies using npm:
npm ls kill-port-process
Analyze the terminal output to locate any version of Kill port process in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.0), your application is affected.
Note: The npm ls kill-port-process command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Kill port process, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-15609 Affected Kill port process Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
kill-port-process
|
npm |
< 2.2.0
|
2.2.0
|
References
Frequently Asked Questions
What is CVE-2019-15609?
Which Kill port process versions are affected?
What version fixes CVE-2019-15609?
Is kill-port-process affected?
What is the CVSS score of CVE-2019-15609?
What CWE is associated with CVE-2019-15609?
How can I check npm dependencies for CVE-2019-15609?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xp4x-j9vh-c3wf",
"modified" : "2026-06-18T18:09:57Z",
"published" : "2022-02-10T20:20:31Z",
"aliases" : [ "CVE-2019-15609" ],
"summary" : "OS Command Injection and Command Injection in kill-port-process",
"details" : "The kill-port-process package prior to version 2.2.0 is vulnerable to a Command Injection.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "kill-port-process"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-15609"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/661959"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hilleer/kill-port-process"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77", "CWE-78" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-04-19T16:43:07Z",
"nvd_published_at" : "2020-02-28T20:15:00Z"
}
}