CVE-2024-8502

Remote Code Execution via Deserialization in modelscope/agentscope

State
Published
Severity
9.8 Critical
Published
Mar 20, 2025
Updated
Mar 20, 2025
Reserved
Sep 5, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.09.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H@huntr_ai

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
modelscope/agentscopemodelscope
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.