SB2021040606 - Command Injection in PortProcesses package for npm
Published: April 6, 2021
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Command Injection (CVE-ID: CVE-2021-23348)
The vulnerability allows a remote attacker to execute arbitrary commands on the target system.
The vulnerability exists due to improper input validation in the "killProcess" function. A remote attacker can pass specially crafted data to the application and execute arbitrary commands on the target system.
Remediation
Install update from vendor's website.
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