Skip to content

CVE-2024-48050 AgentScope uses `eval`

CriticalCVSS 9.8 EPSS 0.81%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
modelscope agentscope <= 0.0.4 after 0.0.4 Fixed
pypi agentscope(PyPI) < 0.0.5a1; <= 0.1.0; = 0.0.1; = 0.0.2 +7 more 0.0.5a1 Fixed

Affected products

ProductAffected versionsFixed in
pypi agentscope(PyPI) <= 0.1.0 No fix listed
pypi agentscope(PyPI) = 0.0.1 No fix listed
pypi agentscope(PyPI) = 0.0.2 No fix listed
pypi agentscope(PyPI) = 0.0.3 No fix listed
pypi agentscope(PyPI) = 0.0.4 No fix listed
pypi agentscope(PyPI) = 0.0.5 No fix listed
pypi agentscope(PyPI) = 0.0.5a1 No fix listed
pypi agentscope(PyPI) = 0.0.6a1 No fix listed
pypi agentscope(PyPI) = 0.0.6a2 No fix listed
pypi agentscope(PyPI) = 0.1.0 No fix listed
pypi agentscope(PyPI) < 0.0.5a1 0.0.5a1
modelscope agentscope <= 0.0.4 No fix listed

References