Vulnerability · Published Mar 31, 2021 · Assigned by snyk

CVE-2021-23348Arbitrary Command Injection

Medium 6.3

In plain English

A medium-severity security flaw in portprocesses. 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 79% 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.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

This affects the package portprocesses before 1.0.5. If (attacker-controlled) user input is given to the killProcess 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
npmportprocesses1.0.5GHSA-vm67-7vmg-66vm

Affected products (as reported)

VendorProductVersions
n/a portprocesses unspecified – before 1.0.5

References