CVE-2024-48050

In agentscope <=v0.0.4, the file agentscope\web\workstation\workflow_utils.py has the function is_callable_expression

Critical · published November 4, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
56.5
In the wild
Unconfirmed
What it is

🚨 A simple function call opens the door to disaster! The eval() function in agentscope <=v0.0.4 can execute arbitrary user commands—like giving a stranger the keys to your code! 🔥 Think of it like a restaurant where the chef blindly follows any order without checking if it's safe to prepare. Just one rogue request could lead to a disastrous meal! 🍽️ An attacker could send a crafted input and execute any command on the server, potentially leading to complete system compromise. This means they could access sensitive data, modify files, or even take full control of the server. Absolutely devastating! ⚡

Put simply

Think of it like a restaurant where the chef blindly follows any order without checking if it's safe to prepare. Just one rogue request could lead to a disastrous meal! 🍽️ This vulnerability stems from the use of eval() in the is_callable_expression function in agentscope, allowing user-controlled input to be executed as code. This flaw directly enables remote code execution under certain conditions, making it critical.

What to do

An attacker could send a crafted input and execute any command on the server, potentially leading to complete system compromise. This means they could access sensitive data, modify files, or even take full control of the server. Absolutely devastating! ⚡ Immediately patch to agentscope version 0.0.5 or later to close this vulnerability. Review your code to eliminate the use of eval() with user input and implement stricter input validation. Your security is your responsibility! 🛡️ You've got this! With these steps, you'll lock down your environment and keep the bad guys at bay! 🚀

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00811 · 56.5th percentile
Published
2024-11-04T00:00Z
EPSS history
Timeline
  • 04 NOV 00:00Z
    In agentscope <=v0.0.4, the file agentscope\web\workstation\workflow_utils.py has the function is_callable_expression
    cvelistv5