PT-2024-32970 · Unknown · Agentscope

Aftersnows

·

Published

2024-11-04

·

Updated

2024-11-06

·

CVE-2024-48050

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions agentscope versions 0.0.0 through 0.0.4
Description The issue is related to the function is callable expression in the file agentscopewebworkstationworkflow utils.py. This function contains the line result = eval(s), which poses a security risk as it can directly execute user-provided commands, leading to arbitrary code execution.
Recommendations For agentscope versions 0.0.0 through 0.0.4, consider disabling the is callable expression function until a patch is available to prevent the execution of user-provided commands. Restrict access to the workflow utils.py module to minimize the risk of exploitation. Avoid using the eval function with untrusted input in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Code Injection

Eval Injection

Weakness Enumeration

Related Identifiers

CVE-2024-48050
GHSA-6P55-QR3J-MPGQ
PYSEC-2024-262

Affected Products

Agentscope