CVE-2024-8502 CRITICAL

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

Vendor Modelscope
Product modelscope/agentscope
Weakness CWE-502 · Unsafe deserialization
Published March 20, 2025
Last update March 20, 2025

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 20, 2025 CVE published
March 20, 2025 Record updated