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.
References
Link | Resource |
---|---|
https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009 | Exploit Third Party Advisory |
https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139 | Third Party Advisory |
Configurations
Information
Published : 2020-02-28 13:15
Updated : 2020-03-03 11:25
NVD link : CVE-2019-10803
Mitre link : CVE-2019-10803
JSON object : View
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Products Affected
push-dir_project
- push-dir