Vulnerability CVE-2019-10803


Published: 2020-02-28   Modified: 2020-02-29

Description:
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.

Type:

CWE-78

(Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') )

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Push-dir project -> Push-dir 

 References:
https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139
https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009

Copyright 2024, cxsecurity.com

 

Back to Top