RCE in Modelscope Agentscope
CVE-2024-48050
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.008, 57.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- rumbling-slice-eb0.notion.site/Unauthenticated-Remote-Code-Execution-via-The-us… (Exploit, Third Party Advisory)
- gist.github.com/AfterSnows/0ad9d233a9d2a5b7e6e5273e2e23508d (Exploit, Third Party Advisory)