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

Published Mar 20, 2025
·
Updated

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.createagent method, where serialized input is deserialized using dill.loads, enabling an attacker to execute arbitrary commands on the server.

Affected Software

2 affected components
pip/agentscope<=0.0.6a3
modelscope agentscope

Event History

Mar 20, 2025
CVE Published
via MITRE·10:09 AM
Data Sourced
via MITRE·10:09 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:32 PM
Data Sourced
via GitHub·12:32 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-8502?

CVE-2024-8502 is classified as a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2024-8502?

To mitigate CVE-2024-8502, upgrade to a version of agentscope that addresses the deserialization vulnerability.

3

What is the impact of CVE-2024-8502?

The impact of CVE-2024-8502 includes the ability for an attacker to execute arbitrary code on affected systems.

4

Which versions are affected by CVE-2024-8502?

CVE-2024-8502 affects versions up to and including agentscope version 0.0.6a3.

5

Who is responsible for CVE-2024-8502?

CVE-2024-8502 is associated with the modelscope product and has been identified in the RpcAgentServerLauncher class.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203