Vulnerability · Published Mar 15, 2021 · Assigned by snyk

CVE-2021-23356Arbitrary Command Injection

Medium 5.6

In plain English

A medium-severity security flaw in kill-process-by-name. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities).

Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)1.1%top 33.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmkill-process-by-nameno fix listedGHSA-qc65-cgvr-93p6

Affected products (as reported)

VendorProductVersions
n/a kill-process-by-name 0 – before unspecified

References