PANDASAI · CVE-2024-23752 · Package
NO FIX YET
PandasAI's synthetic dataframe pipeline turns attacker-supplied English descriptions into Python code, which the SDFCodeExecutor then runs. An attacker who can supply such a dataframe specification can execute arbitrary code on the host running PandasAI.
first public Jan 22, 2024 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Applications that pass untrusted or user-controlled text into PandasAI's synthetic dataframe generation path are exposed, because that text is turned into code and executed. Projects that only run PandasAI on trusted, internally authored data, or that do not use synthetic_dataframe, are less exposed. The sources do not state a fixed version.
Not affected if no-untrusted-input, synthetic-dataframe-unused
Who cares data-analysis, pandasai, python
pip show pandasai; versions up to and including 1.5.17 are affected per the sources.No fix yet, per the sources.
GenerateSDFPipeline in synthetic_dataframe in PandasAI (aka pandas-ai) through 1.5.17 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. NOTE: the vendor previously attempted to restrict code execution in response to a separate issue, CVE-2023-39660.
This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.