Skip to content
OpenAdvisories
Medium · 6.3 CVE-2021-23348 EUVD-2021-0881GHSA-vm67-7vmg-66vmSNYK-JS-PORTPROCESSES-1078536

Arbitrary Command Injection

Published Mar 31, 2021 · Updated Sep 16, 2024 · Assigned by snyk

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 products

VendorProductAffectedFixed
— portprocesses unspecified – < 1.0.5 1.0.5

Affected packages

EcosystemPackageAffectedFixedRecord
npm portprocesses < 1.0.5 1.0.5 GHSA-vm67-7vmg-66vm

References