portprocesses
Affected
- introduced
0, fixed1.0.5(semver)
Fixed versions
1.0.5
Fix
- Fixed version
1.0.5npm install [email protected]
Advisory
Also known as: CVE-2021-23348, SNYK-JS-PORTPROCESSES-1078536
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.
const portprocesses = require("portprocesses");
portprocesses.killProcess("$(touch success)");Medium Basis: The source's own band: MODERATE
0, fixed 1.0.5 (semver)1.0.5
1.0.5npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0