Skip to content
OpenAdvisories
Medium · 6.3 CVE-2021-23363 EUVD-2021-0846GHSA-mm4f-47ch-f7hxSNYK-JS-KILLBYPORT-1078531

Arbitrary Command Injection

Published Mar 30, 2021 · Updated Sep 17, 2024 · Assigned by snyk

Description

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.

Affected products

VendorProductAffectedFixed
— kill-by-port unspecified – < 0.0.2 0.0.2

Affected packages

EcosystemPackageAffectedFixedRecord
npm kill-by-port < 0.0.2 0.0.2 GHSA-mm4f-47ch-f7hx

References