A vulnerability was found in sigmade Git-MCP-Server up to 785aa159f262a02d5791a5d8a8e13c507ac42880. Affected by this vulnerability is the function child_process.exec of the file src/gitUtils.ts of the component show_merge_diff/quick_merge_summary/show_file_diff. The manipulation results in os command injection. The attack must be initiated from a local position. The exploit has been made public and could be used. This product operates on a rolling release basis, ensuring continuous delivery. Consequently, there are no version details for either affected or updated releases. It is advisable to implement a patch to correct this issue. The vendor was contacted early about this disclosure but did not respond in any way.
A command injection vulnerability exists in sigmade Git-MCP-Server's gitUtils.ts file through improper handling of child_process.exec in git diff operations. Local attackers can execute arbitrary OS commands, though the vendor has not provided patches despite early notification.
تم اكتشاف ثغرة حقن أوامر نظام التشغيل في مكون show_merge_diff/quick_merge_summary/show_file_diff بملف src/gitUtils.ts. يسمح الاستغلال للمهاجمين المحليين بتنفيذ أوامر تعسفية على النظام. تم الإفصاح العام عن الثغرة ولم تستجب الشركة المصنعة للإشعارات المبكرة.
ثغرة حقن أوامر موجودة في خادم Git-MCP-Server من sigmade عبر معالجة غير صحيحة لـ child_process.exec في عمليات git diff. يمكن للمهاجمين المحليين تنفيذ أوامر نظام تشغيل عشوائية، على الرغم من عدم توفير الشركة المصنعة لتصحيحات.
Update to the latest version of sigmade Git-MCP-Server with security patches applied. Implement input validation and sanitization for all git operations. Use parameterized command execution instead of shell string concatenation. Restrict local access to the application. Monitor for suspicious command execution patterns.
قم بالتحديث إلى أحدث إصدار من sigmade Git-MCP-Server مع تطبيق تصحيحات الأمان. قم بتنفيذ التحقق من صحة المدخلات وتنظيفها لجميع عمليات git. استخدم تنفيذ الأوامر المعاملة بدلاً من ربط سلاسل shell. قيد الوصول المحلي للتطبيق. راقب أنماط تنفيذ الأوامر المريبة.