INCIDENT MAP

Browse / Unsafe Model Loading and Supply Chain / CVE-2024-8502

AgentScope Deserialization Vulnerability

CVE-2024-8502 ยท 2025-03-20 critical

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Unsafe deserialisation
Affected
agentscope (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.8% chance of exploitation in 30 days

How it works, in short

The RPC agent server calls dill.loads on client-supplied data during agent creation, so a crafted payload executes commands on the server. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.