Live threats

All CVEs / Port-killer Project

CVE-2021-23359Port-killer Project Port-killer

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.7%
probability of exploitation in 30 days · percentile 77
Auth required
Yes
Published
Mar 18, 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 all versions of package port-killer. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.

Original NVD text.

What to do

  1. Apply the vendor's security update for Port-killer.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm port-killer ≤ 1.0.1 no fixed version —

Per OSV / GitHub Advisories (GHSA-2548-q746-x5x6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
port-killer_projectport-killerall

Official sources

References

Links published by the sources. Open them with care.