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.
{ "nvd_published_at": "2024-11-04T23:15:04Z", "cwe_ids": [ "CWE-94", "CWE-95" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2024-11-05T16:10:09Z" }