CVE-2021-23348 – portprocesses
Package
Manager: npm
Name: portprocesses
Vulnerable Version: >=0 <1.0.5
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.01082 pctl0.7702
Details
Arbitrary Command Injection in portprocesses ### Impact An Arbitrary Command Injection vulnerability was reported in `portprocesses` impacting versions <= 1.0.4. ### Example (Proof of Concept) The following example demonstrates the vulnerability and will run `touch success` therefore creating a file named `success`. ```js const portprocesses = require("portprocesses"); portprocesses.killProcess("$(touch success)"); ```
Metadata
Created: 2021-04-06T17:24:50Z
Modified: 2021-03-31T17:50:32Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-vm67-7vmg-66vm/GHSA-vm67-7vmg-66vm.json
CWE IDs: ["CWE-77", "CWE-78"]
Alternative ID: GHSA-vm67-7vmg-66vm
Finding: F404
Auto approve: 1