mcp-use қашықтан код енгізу CodeExecutor кеңістік құрастырушысында
mcp-use
Қысқаша
mcp-use жобасында CodeExecutor компонентінің _build_namespace функциясы бұрмаланған code аргументі арқылы код енгізуге мүмкіндік береді. Шабуылдаушы оған жүйеге кірмей-ақ, қашықтан қол жеткізіп, өз қалауынша код орындай алады.
Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.
Түзету
Түзетілген нұсқа көрсетілмеген.
Түпнұсқа сипаттама (EN)
Түпнұсқа тақырып: mcp-use remote code injection in CodeExecutor namespace builder
A vulnerability was determined in mcp-use up to 1.7.1. Affected by this vulnerability is the function _build_namespace of the file libraries/python/mcp_use/client/code_executor.py of the component CodeExecutor. Executing a manipulation of the argument code can lead to code injection. The attack can be launched remotely. The project maintainer explains, that the built-in Python sandbox executor is not meant for production use and users should rely on external sandbox providers.