~ / search / GHSA-6p55-qr3j-mpgq

GHSA-6p55-qr3j-mpgq

AgentScope uses `eval`

Source: GitHub Advisory Database (reviewed) High CVE-2024-48050

Packages

EcosystemPackageAffectedFixed in
PyPI agentscope <= 0.1.0 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.