A vulnerability has been found in DeDeveloper23 codebase-mcp up to 3ec749d237dd8eabbeef48657cf917275792fde6. This vulnerability affects the function getCodebase/getRemoteCodebase/saveCodebase of the file src/tools/codebase.ts of the component RepoMix Command Handler. Such manipulation leads to os command injection. The attack needs to be performed locally. The exploit has been disclosed to the public and may be used. This product implements a rolling release for ongoing delivery, which means version information for affected or updated releases is unavailable. The project was informed of the problem early through an issue report but has not responded yet.
A local OS command injection vulnerability exists in DeDeveloper23 codebase-mcp affecting the RepoMix Command Handler's codebase functions. The vulnerability allows local attackers to execute arbitrary OS commands through improper input handling in src/tools/codebase.ts.
تؤثر هذه الثغرة على مكون معالج أوامر RepoMix في مشروع DeDeveloper23 codebase-mcp، حيث تسمح بحقن أوامر نظام التشغيل من خلال دوال معالجة قاعدة الكود. يتطلب الهجوم وصولاً محلياً إلى النظام المتأثر. تم الكشف عن الثغرة علناً وقد تكون قيد الاستخدام الفعلي.
A local OS command injection vulnerability exists in DeDeveloper23 codebase-mcp affecting the RepoMix Command Handler's codebase functions. The vulnerability allows local attackers to execute arbitrary OS commands through improper input handling in src/tools/codebase.ts.
Update DeDeveloper23 codebase-mcp to the latest patched version beyond commit 3ec749d237dd8eabbeef48657cf917275792fde6. Implement strict input validation and sanitization for all user inputs in the getCodebase, getRemoteCodebase, and saveCodebase functions. Use parameterized commands or safe APIs instead of shell command execution. Restrict local access to development tools and implement principle of least privilege for developer accounts.
قم بتحديث DeDeveloper23 codebase-mcp إلى أحدث إصدار مصحح بعد الالتزام المذكور. قم بتنفيذ التحقق الصارم من صحة المدخلات وتطهيرها لجميع مدخلات المستخدم في الدوال المتأثرة. استخدم الأوامر المعاملة أو واجهات برمجية آمنة بدلاً من تنفيذ أوامر shell. قيد الوصول المحلي إلى أدوات التطوير وطبق مبدأ الامتيازات الأقل للحسابات.