PT-2024-20058 · Pandasai · Pandasai
Fubuki8087
·
Published
2024-01-21
·
Updated
2024-01-29
·
CVE-2024-23752
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
PandasAI (aka pandas-ai) versions 1.5.17 and earlier
Description
The issue allows attackers to trigger the generation of arbitrary Python code that is executed by SDFCodeExecutor. An attacker can create a dataframe that provides an English language specification of this Python code. This is possible due to a flaw in the GenerateSDFPipeline in synthetic dataframe.
Recommendations
For versions 1.5.17 and earlier, as a temporary workaround, consider disabling the
GenerateSDFPipeline function in synthetic dataframe until a patch is available.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Missing Authorization
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Pandasai