PT-2024-18946
CVE-2024-21532
·
تاريخ النشر
2024-10-07
·
تاريخ التحديث
2026-03-27
الوصف من
CVSS 3.1
7.3
عاليةالمقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions
ggit versions all
Description
The issue concerns Command Injection via the
fetchTags(branch) API, which allows user input to specify the branch to be fetched. This input is then concatenated with a git command and passed to the unsafe exec() Node.js child process API.Recommendations
For all versions, consider disabling the
fetchTags(branch) API until a patch is available to prevent exploitation. Restrict access to the exec() function to minimize the risk of Command Injection. Avoid using user-inputted data in the branch variable to prevent malicious commands from being executed. At the moment, there is no information about a newer version that contains a fix for this vulnerability. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾