p PatchFirst

CVE-2021-43831

CVE-2021-43831 · Files on the host computer can be accessed from the Gradio interface

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.7 · High · EPSS 3.9% · Public exploit · Fix available

Published
Updated

Stack: python

Affected products and versions

  • gradio

    Versions
    • < 2.5.0: Affected

    No fix published

  • gradio PyPI

    Versions
    • 0.1.0
    • 0.1.1
    • 0.1.2
    • 0.1.3
    • 0.1.4
    • 0.1.5
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    • 0.2.0
    • 0.2.1
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 0.3.4
    • 0.3.5
    • 0.4.0
    • 0.4.1
    • 0.4.2
    • 0.4.4
    • 0.5.0
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.7.5
    • 0.7.6
    • 0.7.7
    • 0.7.8
    • 0.8.0
    • 0.8.1
    • 0.9.0
    • 0.9.1
    • 0.9.2
    • 0.9.3
    • 0.9.4
    • 0.9.5
    • 0.9.6
    • 0.9.7
    • 0.9.8
    • 0.9.9.2
    • 0.9.9.3
    • 0.9.9.5
    • 0.9.9.6
    • 0.9.9.7
    • 0.9.9.8
    • 0.9.9.9
    • 0.9.9.9.2
    • 1.0.0
    • 1.0.0a1
    • 1.0.0a3
    • 1.0.0a4
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.0.5
    • 1.0.6
    • 1.0.7
    • 1.1.0
    • 1.1.1
    • 1.1.2
    • 1.1.3
    • 1.1.4
    • 1.1.5
    • 1.1.6
    • 1.1.8
    • 1.1.8.1
    • 1.1.9
    • 1.2.2
    • 1.2.3
    • 1.3.0
    • 1.3.1
    • 1.3.2
    • 1.4.0
    • 1.4.2
    • 1.4.3
    • 1.4.4
    • 1.5.0
    • 1.5.1
    • 1.5.3
    • 1.5.4
    • 1.6.0
    • 1.6.1
    • 1.6.2
    • 1.6.3
    • 1.6.4
    • 1.7.0
    • 1.7.1
    • 1.7.2
    • 1.7.3
    • 1.7.4
    • 1.7.5
    • 1.7.6
    • 1.7.7
    • 2.0.0
    • 2.0.1
    • 2.0.10
    • 2.0.2
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.0.7
    • 2.0.8
    • 2.0.9
    • 2.1.0
    • 2.1.1
    • 2.1.2
    • 2.1.4
    • 2.1.6
    • 2.1.7
    • 2.2.0
    • 2.2.1
    • 2.2.10
    • 2.2.11
    • 2.2.12
    • 2.2.13
    • 2.2.14
    • 2.2.15
    • 2.2.2
    • 2.2.3
    • 2.2.4
    • 2.2.5
    • 2.2.6
    • 2.2.7
    • 2.2.8
    • 2.2.9a0
    • 2.2.9a2
    • 2.3.0
    • 2.3.0a0
    • 2.3.0b101
    • 2.3.0b102
    • 2.3.0b99
    • 2.3.3
    • 2.3.4
    • 2.3.5
    • 2.3.5b0
    • 2.3.6
    • 2.3.7
    • 2.3.7b0
    • 2.3.7b1
    • 2.3.7b2
    • 2.3.8b0
    • 2.3.9
    • 2.4.0
    • 2.4.0a0
    • 2.4.1
    • 2.4.2
    • 2.4.4
    • 2.4.5
    • 2.4.6
    • 2.4.7b0
    • 2.4.7b2
    • 2.4.7b3
    • 2.4.7b4
    • 2.4.7b5
    • 2.4.7b6
    • 2.4.7b7
    • 2.4.7b8
    • 2.4.7b9
    Affected ranges
    • ECOSYSTEM: < 2.5.0

    Update to 2.5.0

  • gradio PyPI

    Versions
    • 0.1.0
    • 0.1.1
    • 0.1.2
    • 0.1.3
    • 0.1.4
    • 0.1.5
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    • 0.2.0
    • 0.2.1
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 0.3.4
    • 0.3.5
    • 0.4.0
    • 0.4.1
    • 0.4.2
    • 0.4.4
    • 0.5.0
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.7.5
    • 0.7.6
    • 0.7.7
    • 0.7.8
    • 0.8.0
    • 0.8.1
    • 0.9.0
    • 0.9.1
    • 0.9.2
    • 0.9.3
    • 0.9.4
    • 0.9.5
    • 0.9.6
    • 0.9.7
    • 0.9.8
    • 0.9.9.2
    • 0.9.9.3
    • 0.9.9.5
    • 0.9.9.6
    • 0.9.9.7
    • 0.9.9.8
    • 0.9.9.9
    • 0.9.9.9.2
    • 1.0.0
    • 1.0.0a1
    • 1.0.0a3
    • 1.0.0a4
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.0.5
    • 1.0.6
    • 1.0.7
    • 1.1.0
    • 1.1.1
    • 1.1.2
    • 1.1.3
    • 1.1.4
    • 1.1.5
    • 1.1.6
    • 1.1.8
    • 1.1.8.1
    • 1.1.9
    • 1.2.2
    • 1.2.3
    • 1.3.0
    • 1.3.1
    • 1.3.2
    • 1.4.0
    • 1.4.2
    • 1.4.3
    • 1.4.4
    • 1.5.0
    • 1.5.1
    • 1.5.3
    • 1.5.4
    • 1.6.0
    • 1.6.1
    • 1.6.2
    • 1.6.3
    • 1.6.4
    • 1.7.0
    • 1.7.1
    • 1.7.2
    • 1.7.3
    • 1.7.4
    • 1.7.5
    • 1.7.6
    • 1.7.7
    • 2.0.0
    • 2.0.1
    • 2.0.10
    • 2.0.2
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.0.7
    • 2.0.8
    • 2.0.9
    • 2.1.0
    • 2.1.1
    • 2.1.2
    • 2.1.4
    • 2.1.6
    • 2.1.7
    • 2.2.0
    • 2.2.1
    • 2.2.10
    • 2.2.11
    • 2.2.12
    • 2.2.13
    • 2.2.14
    • 2.2.15
    • 2.2.2
    • 2.2.3
    • 2.2.4
    • 2.2.5
    • 2.2.6
    • 2.2.7
    • 2.2.8
    • 2.2.9a0
    • 2.2.9a2
    • 2.3.0
    • 2.3.0a0
    • 2.3.0b101
    • 2.3.0b102
    • 2.3.0b99
    • 2.3.3
    • 2.3.4
    • 2.3.5
    • 2.3.5b0
    • 2.3.6
    • 2.3.7
    • 2.3.7b0
    • 2.3.7b1
    • 2.3.7b2
    • 2.3.8b0
    • 2.3.9
    • 2.4.0
    • 2.4.0a0
    • 2.4.1
    • 2.4.2
    • 2.4.4
    • 2.4.5
    • 2.4.6
    • 2.4.7b0
    • 2.4.7b2
    • 2.4.7b3
    • 2.4.7b4
    • 2.4.7b5
    • 2.4.7b6
    • 2.4.7b7
    • 2.4.7b8
    • 2.4.7b9
    Affected ranges
    • GIT: < 41bd3645bdb616e1248b2167ca83636a2653f781
    • ECOSYSTEM: < 2.5.0

    Update to 2.5.0

Original sources

Check your server →