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