Live threats

All CVEs / Kill-by-port Project

CVE-2021-23363Kill-by-port Project Kill-by-port

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
Yes
Published
Mar 30, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

This affects the package kill-by-port before 0.0.2. If (attacker-controlled) user input is given to the killByPort function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kill-by-port.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm kill-by-port < 0.0.2 0.0.2 npm install kill-by-port@0.0.2

Per OSV / GitHub Advisories (GHSA-mm4f-47ch-f7hx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
kill-by-port_projectkill-by-port< 0.0.2

Official sources

References

Links published by the sources. Open them with care.