CVE-2021-23356

MEDIUM

kill-process-by-name - OS Command Injection via Unsanitized Input to child_process exec

Title source: llm
STIX 2.1

Description

This affects all versions of package kill-process-by-name. 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 in the index.js file.

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-KILLPROCESSBYNAME-1078534

Scores

CVSS v3 5.6
EPSS 0.0115
EPSS Percentile 62.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Details

CWE
CWE-78
Status published
Products (2)
kill-process-by-name_project/kill-process-by-name
npm/kill-process-by-name 0npm
Published Mar 15, 2021
Tracked Since Feb 18, 2026