Vulnerability · Published Mar 30, 2021 · Assigned by snyk

CVE-2021-23363Arbitrary Command Injection

Medium 6.3

In plain English

A medium-severity security flaw in kill-by-port. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

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

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmkill-by-port0.0.2GHSA-mm4f-47ch-f7hx

Affected products (as reported)

VendorProductVersions
n/a kill-by-port unspecified – before 0.0.2

References