Arbitrary Command Execution in push-dir through 0.4.1

Arbitrary Command Execution in push-dir through 0.4.1

CVE-2019-10803 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.