Description
A vulnerability was determined in modelscope agentscope up to 1.0.18. Affected by this vulnerability is the function execute_python_code/execute_shell_command of the file src/AgentScope/tool/_coding/_python.py. This manipulation causes code injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| modelscope | agentscope | 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.11, 1.0.12, 1.0.13, 1.0.14, 1.0.15, 1.0.16, 1.0.17, 1.0.18 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | agentscope | <= 1.0.18 | — | GHSA-cr24-fv3h-8cjm |
References
- VDB-358238 | modelscope agentscope _python.py execute_shell_command code injection vdb-entry technical-description
- VDB-358238 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #792223 | AgentScope <= 1.0.18 Code Injection (CWE-94) third-party-advisory
- https://gist.github.com/YLChen-007/c084d69aaeda6729f3988603f2b0ce6e exploit