Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFjNjUtY2d2ci05M3A2

Code injection in kill-process-by-name

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.

Permalink: https://github.com/advisories/GHSA-qc65-cgvr-93p6
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFjNjUtY2d2ci05M3A2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 3 years ago
Updated: over 1 year ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-qc65-cgvr-93p6, CVE-2021-23356
References: Blast Radius: 3.0

Affected Packages

npm:kill-process-by-name
Dependent packages: 2
Dependent repositories: 2
Downloads: 7,836 last month
Affected Version Ranges: <= 1.0.5
No known fixed version
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.5