CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024

CVE-2024-23752
Gabrieleventuri Pandasai vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Pandasai. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gabrieleventuri Pandasai runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.