CVE-2021-23359

HIGH

port-killer - OS Command Injection via Unsanitized Input to child_process exec

Title source: llm
STIX 2.1

Description

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.

References (2)

Core 2

Scores

CVSS v3 7.5
EPSS 0.0165
EPSS Percentile 73.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (2)
npm/port-killer 0npm
port-killer_project/port-killer
Published Mar 18, 2021
Tracked Since Feb 18, 2026