CVE-2024-48050: AgentScope uses `eval`

CVE-2024-48050 · Severity: low · CVSS 3.1 · Published 2024-11-04

In agentscope <=v0.0.4, the file agentscope\web\workstation\workflow_utils.py has the function is_callable_expression. Within this function, the line result = eval(s) poses a security risk as it can directly execute user-provided commands.

Technologies: agentscope (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-48050 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-48050 being exploited in the wild.
How severe is CVE-2024-48050?
Low severity, with a CVSS score of 3.1, published 4 November 2024.
Which products and versions are affected?
agentscope (PyPI) ECOSYSTEM:introduced=0,fixed=0.0.5a1, ECOSYSTEM:introduced=0,last_affected=0.1.0.
Is there a fix for CVE-2024-48050?
Yes. agentscope (PyPI): upgrade to 0.0.5a1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-48050?
Check whether you run agentscope (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • agentscope (PyPI): upgrade to 0.0.5a1 or later
    pip install "agentscope>=0.0.5a1"

Affected products

  • agentscope (PyPI) ECOSYSTEM:introduced=0,fixed=0.0.5a1, ECOSYSTEM:introduced=0,last_affected=0.1.0

Identifiers

  • CVE-2024-48050
  • GHSA-6p55-qr3j-mpgq
  • PYSEC-2024-262

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.