CVE-2024-8502
A vulnerability in the RpcAgentServerLauncher class of …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- huntr.com/bounties/7a42da2a-2ae5-442d-aff9-c9a3b47870eb
- nvd.nist.gov/vuln/detail/CVE-2024-8502
- github.com/advisories/GHSA-9w5h-67gf-xvv8
- github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-253.yaml
- pypi.org/project/agentscope
- nvd.nist.gov/vuln/detail/CVE-2024-8502
- cve.org/CVERecord?id=CVE-2024-8502
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.