Arbitrary Code Injection Affecting pandasai package, versions [,0.8.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.91% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PANDASAI-5848027
  • published22 Aug 2023
  • disclosed21 Aug 2023
  • creditLyutoon

Introduced: 21 Aug 2023

CVE-2023-39660  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade pandasai to version 0.8.1 or higher.

Overview

pandasai is a Pandas AI is a Python library that integrates generative artificial intelligence capabilities into Pandas, making dataframes conversational.

Affected versions of this package are vulnerable to Arbitrary Code Injection via a crafted request to the prompt function.

CVSS Scores

version 3.1