Vulnerability · Published Mar 21, 2021 · Assigned by snyk

CVE-2021-23360Arbitrary Command Injection

High 7.5

In plain English

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

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.3%top 16.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

This affects the package killport before 1.0.2. 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. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmkillport1.0.2GHSA-fc42-h7q4-qp8h

Affected products (as reported)

VendorProductVersions
n/a killport unspecified – before 1.0.2

References