Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
modelscope modelscope/agentscope
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

AgentScope是ModelScope开源的一个应用程序。更简单地构建基于 LLM 的多智能体应用。 AgentScope v0.0.6a3版本存在代码问题漏洞,该漏洞源于RpcAgentServerLauncher类通过dill库反序列化不可信数据导致远程代码执行,攻击者可以在服务器上执行任意命令。

AI Predicted 9.8 Difficulty: Easy EPSS 1.84% · P79

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-8502

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Remote Code Execution via Deserialization in modelscope/agentscope
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
可信数据的反序列化
Source: CVE Program / CVE List V5
Vulnerability Title
AgentScope 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
AgentScope是ModelScope开源的一个应用程序。更简单地构建基于 LLM 的多智能体应用。 AgentScope v0.0.6a3版本存在代码问题漏洞,该漏洞源于RpcAgentServerLauncher类通过dill库反序列化不可信数据导致远程代码执行,攻击者可以在服务器上执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
modelscope modelscope/agentscope unspecified ~ latest -

II. Public POCs for CVE-2024-8502

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-8502

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-8502 (1)

Same Patch Batch · modelscope · 2025-03-20 · 9 CVEs total

CVE-2024-8556 Stored XSS in modelscope/agentscope
CVE-2024-8501 Arbitrary File Download in modelscope/agentscope
CVE-2024-8551 Path Traversal in modelscope/agentscope
CVE-2024-8524 Directory Traversal in modelscope/agentscope
CVE-2024-8537 Path Traversal in modelscope/agentscope
CVE-2024-8438 Path Traversal in modelscope/agentscope
CVE-2024-8489 CSRF due to overly permissive CORS headers in modelscope/agentscope
CVE-2024-8487 CORS Vulnerability in modelscope/agentscope

IV. Related Vulnerabilities