GHSA-926x-m6m5-3mmp
Dashboard / Vulnerabilities / GHSA-926x-m6m5-3mmp
GHSA-926x-m6m5-3mmp
Published: 9 Feb 2022Last Modified: 8 Jul 2026
Aliases:
Summary: push-dir Enables OS Command Injection
Details: 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](https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139). This could be abused by an attacker to inject arbitrary commands.
References: https://nvd.nist.gov/vuln/detail/CVE-2019-10803, https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139, https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009
Affected packages
Package
Name: push-dir
Purl: pkg:npm/push-dir
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
