Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZtNjctN3ZtZy02NnZt

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)");
Permalink: https://github.com/advisories/GHSA-vm67-7vmg-66vm
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZtNjctN3ZtZy02NnZt
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 3 years ago
Updated: over 1 year ago


CVSS Score: 6.4
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Identifiers: GHSA-vm67-7vmg-66vm, CVE-2021-23348
References: Repository: https://github.com/rrainn/PortProcesses
Blast Radius: 0.0

Affected Packages

npm:portprocesses
Dependent packages: 1
Dependent repositories: 1
Downloads: 20 last month
Affected Version Ranges: < 1.0.5
Fixed in: 1.0.5
All affected versions: 1.0.3, 1.0.4
All unaffected versions: 1.0.5