PT-2020-9153
CVE-2019-10803
·
تاريخ النشر
2020-02-28
·
تاريخ التحديث
2022-02-09
الوصف من
CVSS 3.1
9.8
حرجةالمقاييسAV: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. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾