Paper/Archive/CVE-2024-8502

CVE-2024-8502

modelscope modelscope/agentscope — Remote Code Execution via Deserialization in modelscope/agentscope

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
modelscope/agentscopeunspecified – latest–CNA

Scores by source

@huntr_ai (CNA)9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

refhuntr.com/bounties/7a42da2a-2ae5-442d-aff9-c9a3b47870eb