Skip to content
OpenAdvisories
Critical · 9.8 CVE-2024-48050 EUVD-2024-3203GHSA-6p55-qr3j-mpgqPYSEC-2024-262

AgentScope uses `eval`

Published Nov 4, 2024 · Updated Nov 6, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI agentscope <= 0.1.0 — GHSA-6p55-qr3j-mpgq
PyPI agentscope < 0.0.5a1 0.0.5a1 PYSEC-2024-262

References