CVE-2019-10803
CRITICALpush-dir < 0.4.1 - OS Command Injection via opt.branch Argument
Title source: llmDescription
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 (2)
Core 2
Core References
Third Party Advisory x_refsource_misc
https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009
Scores
CVSS v3
9.8
EPSS
0.0277
EPSS Percentile
84.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-78
Status
published
Products (2)
npm/push-dir
0npm
push-dir_project/push-dir
< 0.4.1
Published
Feb 28, 2020
Tracked Since
Feb 18, 2026