PT-2020-9153

CVE-2019-10803

·

Published

2020-02-28

·

Updated

2022-02-09

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions push-dir versions 0.4.1 and earlier
Description The issue allows execution of arbitrary commands. Arguments provided as part of the variable opt.branch are not validated before being provided to the git command within index.js#L139. This could be abused by an attacker to inject arbitrary commands.
Recommendations For versions 0.4.1 and earlier, consider validating the opt.branch variable before passing it to the git command to prevent arbitrary command execution. As a temporary workaround, consider restricting access to the git command or disabling the functionality that utilizes the opt.branch variable until a patch is available.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-926X-M6M5-3MMP
SNYK-JS-PUSHDIR-559009
Found an issue in the description? Have something to add? Feel free to write us 👾