logo

CVE-2021-23363 kill-by-port

Package

Manager: npm
Name: kill-by-port
Vulnerable Version: >=0 <0.0.2

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00998 pctl0.76109

Details

Arbitrary code execution in kill-by-port This affects the package kill-by-port before 0.0.2. If (attacker-controlled) user input is given to the killByPort function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.

Metadata

Created: 2021-04-13T15:32:43Z
Modified: 2022-07-05T18:00:53Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-mm4f-47ch-f7hx/GHSA-mm4f-47ch-f7hx.json
CWE IDs: ["CWE-77"]
Alternative ID: GHSA-mm4f-47ch-f7hx
Finding: F422
Auto approve: 1