Arbitrary File Read Affecting gradio package, versions [,2.5.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
2.79% (91st 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 File Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-GRADIO-2320789
  • published16 Dec 2021
  • disclosed16 Dec 2021
  • credithaby0

Introduced: 16 Dec 2021

CVE-2021-43831  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade gradio to version 2.5.0 or higher.

Overview

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

Affected versions of this package are vulnerable to Arbitrary File Read via shared Gradio interface. Users who receive a Gradio link can access any files on the host computer if they know the file names or file paths.

CVSS Scores

version 3.1