CVE-2024-8502: modelscope agentscope - Insecure Deserialization
- Cve: CVE-2024-8502
- Name: modelscope agentscope - Insecure Deserialization
- 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.
- Impact: Attackers can execute arbitrary commands on the server, leading to full system compromise or data breach.
- Remediation: Update to the latest version where this deserialization issue is fixed or implement input validation and avoid deserializing untrusted data.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01844
- Epss percentile: 0.79455
- Assignee: [email protected]
- Published at: 2025-03-20T10:15:42Z
- Age in days: 614
- Modified at: 2026-06-17T08:22:45Z
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-8502
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
References
| Url | Source | Tags |
|---|---|---|
| https://huntr.com/bounties/7a42da2a-2ae5-442d-aff9-c9a3b47870eb | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| modelscope:agentscope | <= latest | no | cna_alias | /v1/products/modelscope/agentscope |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| modelscope/agentscope | package | yes | /v1/repositories/modelscope/agentscope |
Index
- Repositories: 5
- Repositories high signal: 3
- Checked, none or zero: packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts