CVE-2021-23348
Dashboard / Vulnerabilities / CVE-2021-23348
CVE-2021-23348
Published: 31 Mar 2021Last Modified: 9 Jul 2026
Summary:
Details: 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.
References: https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23, https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1, https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm, https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
