Improper Neutralization of Formula Elements in a CSV File Affecting gradio package, versions [,2.8.11)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.3% (71st 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 IDSNYK-PYTHON-GRADIO-2429584
  • published18 Mar 2022
  • disclosed18 Mar 2022
  • credithaby0

Introduced: 18 Mar 2022

CVE-2022-24770  (opens in a new tab)
CWE-1236  (opens in a new tab)

How to fix?

Upgrade gradio to version 2.8.11 or higher.

Overview

gradio is a Python library for easily interacting with trained machine learning models

Affected versions of this package are vulnerable to Improper Neutralization of Formula Elements in a CSV File via the flagging functionality that allows a user to save arbitrary text into the CSV file, such as commands. This vulnerability might be exploited when a program like MS Excel opens such a file, and automatically runs these commands.

CVSS Scores

version 3.1