Use of Hard-coded Credentials Affecting gradio package, versions [,3.13.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.2% (59th 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 ID SNYK-PYTHON-GRADIO-3330769
  • published 24 Feb 2023
  • disclosed 23 Feb 2023
  • credit Greg Sadetsky, Samuel Tremblay-Cossette

How to fix?

Upgrade gradio to version 3.13.1 or higher.

Overview

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

Affected versions of this package are vulnerable to Use of Hard-coded Credentials when using Gradio's share links (i.e. creating a Gradio app and then setting share=True). A private SSH key is sent to any user that connects to the Gradio machine, which means that a user could access other users' shared Gradio demos.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.4 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

9.8 critical