Advisory

PYSEC-2024-262

Also known as: CVE-2024-48050, GHSA-6p55-qr3j-mpgq

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-11-04 23:15 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

agentscope

PyPI · All systems

Affected

  • introduced 0, fixed 0.0.5a1 (ecosystem)

Fixed versions

0.0.5a1

Fix

  • Fixed version 0.0.5a1
    pip install --upgrade agentscope==0.0.5a1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences