Descrizione
The Python code being run by 'runPython' or 'runPythonAsync' is not isolated from the rest of the JS code, allowing any Python code to use the Pyodide APIs to modify the JS environment. This may result in an attacker hijacking the MCP server - for malicious purposes including MCP tool shadowing. Note - the "mcp-run-python" project is archived and unlikely to receive a fix.
Tipo di vulnerabilità
CWE-653
Improper Isolation or Compartmentalization
The product does not properly compartmentalize or isolate functionality, processes, or resources that require different privilege levels, rights, or permissions.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità, Aggirare i meccanismi di protezione |
Come si previene
Architettura e progettazione
Break up privileges between different modules, objects, or entities. Minimize the interfaces between modules and require strong access control between them.
Tutte le 76 CVE di tipo CWE-653, con andamento e prevenzione