p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in gradio · Seite 3

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für gradio: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 52

  1. CVE-2024-1728

    Hoch · CVSS 7.5EPSS 85,39%Öffentlicher ExploitKorrektur verfügbar

    Local File Inclusion in gradio-app/gradio

    gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component. Attackers can exploit this vulnerability to read arbitrary files on the filesystem, such as private SSH keys, by manipulating the file path in the request to the `/queue/join` endpoint. This issue could potentially lead to remote code execution. The vulnerability is present in the handling of file upload paths, allowing attackers to redirect file uploads to unintended locations on the server.

    • Auf 4.19.2 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2024-1729

    Mittel · CVSS 5.9EPSS 0,5%Korrektur verfügbar

    Timing Attack Vulnerability in gradio-app/gradio

    A timing attack vulnerability exists in the gradio-app/gradio repository, specifically within the login function in routes.py. The vulnerability arises from the use of a direct comparison operation (`app.auth[username] == password`) to validate user credentials, which can be exploited to guess passwords based on response times. Successful exploitation of this vulnerability could allow an attacker to bypass authentication mechanisms and gain unauthorized access.

    • Auf 4.19.2 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2024-2206

    Hoch · CVSS 7.3EPSS 0,42%Korrektur verfügbar

    SSRF Vulnerability in gradio-app/gradio

    An SSRF vulnerability exists in the gradio-app/gradio due to insufficient validation of user-supplied URLs in the `/proxy` route. Attackers can exploit this vulnerability by manipulating the `self.replica_urls` set through the `X-Direct-Url` header in requests to the `/` and `/config` routes, allowing the addition of arbitrary URLs for proxying. This flaw enables unauthorized proxying of requests and potential access to internal endpoints within the Hugging Face space. The issue arises from the application's inadequate checking of safe URLs in the `build_proxy_request` function.

    • Auf 4.18.0 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2024-1727

    Mittel · CVSS 4.3EPSS 0,35%Korrektur verfügbar

    CSRF Vulnerability in gradio-app/gradio

    A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running Gradio locally. By crafting a malicious HTML page that triggers an unauthorized file upload to the victim's server, an attacker can deplete the system's disk space, potentially leading to a denial of service. This issue affects the file upload functionality as implemented in gradio/routes.py.

    • Auf 4.19.2 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2023-51449

    Mittel · CVSS 5.6EPSS 28,34%Öffentlicher ExploitKorrektur verfügbar

    Make the `/file` secure against file traversal attacks

    Gradio is an open-source Python package that allows you to quickly build a demo or web application for your machine learning model, API, or any arbitary Python function. Versions of `gradio` prior to 4.11.0 contained a vulnerability in the `/file` route which made them susceptible to file traversal attacks in which an attacker could access arbitrary files on a machine running a Gradio app with a public URL (e.g. if the demo was created with `share=True`, or on Hugging Face Spaces) if they knew the path of files to look for. This issue has been patched in version 4.11.0.

    • Auf 4.11.0 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2023-34239

    Hoch · CVSS 7.3EPSS 0,65%Korrektur verfügbar

    Unfiltered paths in gradio

    Gradio is an open-source Python library that is used to build machine learning and data science. Due to a lack of path filtering Gradio does not properly restrict file access to users. Additionally Gradio does not properly restrict the what URLs are proxied. These issues have been addressed in version 3.34.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

    • Auf 3.34.0 aktualisieren
    Veröffentlicht Aktualisiert
  7. CVE-2023-25823

    Mittel · CVSS 5.4EPSS 0,55%Korrektur verfügbar

    Gradio contains Use of Hard-coded Credentials

    Gradio is an open-source Python library to build machine learning and data science demos and web applications. Versions prior to 3.13.1 contain 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. From there, other exploits are possible depending on the level of access/exposure the Gradio app provides. This issue is patched in version 3.13.1, however, users are recommended to update to 3.19.1 or later where the FRP solution has b

    • Auf 3.13.1 aktualisieren
    Veröffentlicht Aktualisiert
  8. CVE-2022-24770

    Hoch · CVSS 8.8EPSS 1,3%Korrektur verfügbar

    Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging

    `gradio` is an open source framework for building interactive machine learning models and demos. Prior to version 2.8.11, `gradio` suffers from Improper Neutralization of Formula Elements in a CSV File. The `gradio` library has a flagging functionality which saves input/output data into a CSV file on the developer's computer. This can allow a user to save arbitrary text into the CSV file, such as commands. If a program like MS Excel opens such a file, then it automatically runs these commands, which could lead to arbitrary commands running on the user's computer. The problem has been patched as of `2.8.11`, which escapes the saved csv with si

    • Auf 2.8.11 aktualisieren
    Veröffentlicht Aktualisiert
  9. CVE-2021-43831

    Hoch · CVSS 7.7EPSS 3,85%Öffentlicher ExploitKorrektur verfügbar

    Files on the host computer can be accessed from the Gradio interface

    Gradio is an open source framework for building interactive machine learning models and demos. In versions prior to 2.5.0 there is a vulnerability that affects anyone who creates and publicly shares Gradio interfaces. File paths are not restricted and users who receive a Gradio link can access any files on the host computer if they know the file names or file paths. This is limited only by the host operating system. Paths are opened in read only mode. The problem has been patched in gradio 2.5.0.

    • Auf 2.5.0 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →