Ecosyste.ms: Advisories

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

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTkyNngtbTZtNS0zbW1w

push-dir Enables OS Command Injection

push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable opt.branch is not validated before being provided to the git command within index.js#L139. This could be abused by an attacker to inject arbitrary commands.

Permalink: https://github.com/advisories/GHSA-926x-m6m5-3mmp
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTkyNngtbTZtNS0zbW1w
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 2 years ago
Updated: 8 months ago


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

Identifiers: GHSA-926x-m6m5-3mmp, CVE-2019-10803
References: Repository: https://github.com/L33T-KR3W/push-dir
Blast Radius: 32.8

Affected Packages

npm:push-dir
Dependent packages: 105
Dependent repositories: 2,220
Downloads: 8,233 last month
Affected Version Ranges: <= 0.4.1
No known fixed version
All affected versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.4.0, 0.4.1