p PatchFirst

CVE-2024-8502

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.8 · Critical · EPSS 1.8%

Published
Updated

Stack: python

Affected products and versions

  • modelscope/agentscope

    Versions
    • ≥ unspecified, ≤ latest: Affected (custom)

    No fix published

  • agentscope PyPI

    Versions
    • 0.0.1
    • 0.0.2
    • 0.0.3
    • 0.0.4
    • 0.0.5
    • 0.0.5a1
    • 0.0.6a1
    • 0.0.6a2
    Affected ranges
    • ECOSYSTEM: ≤ 0.0.6a3

    No fix published

Original sources

Check your server →