Skip to content

CVE-2024-8502 Remote Code Execution via Deserialization in modelscope/agentscope

CriticalCVSS 9.8 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

A vulnerability in the RpcAgentServerLauncher class of modelscope/agentscope v0.0.6a3 allows for remote code execution (RCE) via deserialization of untrusted data using the dill library. The issue occurs in the AgentServerServicer.create_agent method, where serialized input is deserialized using dill.loads, enabling an attacker to execute arbitrary commands on the server.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
modelscope/agentscope <= latest after latest Fixed
pypi agentscope(PyPI) <= 0.0.6a3; = 0.0.1; = 0.0.2; = 0.0.3 +5 more after 0.0.6a3 Fixed

Affected products

ProductAffected versionsFixed in
pypi agentscope(PyPI) <= 0.0.6a3 No fix listed
pypi agentscope(PyPI) = 0.0.1 No fix listed
pypi agentscope(PyPI) = 0.0.2 No fix listed
pypi agentscope(PyPI) = 0.0.3 No fix listed
pypi agentscope(PyPI) = 0.0.4 No fix listed
pypi agentscope(PyPI) = 0.0.5 No fix listed
pypi agentscope(PyPI) = 0.0.5a1 No fix listed
pypi agentscope(PyPI) = 0.0.6a1 No fix listed
pypi agentscope(PyPI) = 0.0.6a2 No fix listed
modelscope/agentscope <= latest No fix listed

References