CVE-2024-48050 AgentScope uses `eval`
CriticalCVSS 9.8
EPSS 0.81%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| modelscope agentscope | <= 0.0.4 | after 0.0.4 | Fixed |
| pypi agentscope(PyPI) | < 0.0.5a1; <= 0.1.0; = 0.0.1; = 0.0.2 +7 more | 0.0.5a1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi agentscope(PyPI) | <= 0.1.0 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.1 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.2 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.3 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.4 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.5 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.5a1 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.6a1 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.6a2 | No fix listed |
| pypi agentscope(PyPI) | = 0.1.0 | No fix listed |
| pypi agentscope(PyPI) | < 0.0.5a1 | 0.0.5a1 |
| modelscope agentscope | <= 0.0.4 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- gist.github.com exploit third-party-advisory
- github.com product
- github.com
- rumbling-slice-eb0.notion.site exploit third-party-advisory
- github.com vendor-advisory