Skip to content
OpenAdvisories
High · 7.7 Scanner template CVE-2021-43831 EUVD-2021-0095GHSA-rhq2-3vr9-6mcrPYSEC-2021-873

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

Published Dec 15, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
gradio-app gradio < 2.5.0 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gradio < 2.5.0 2.5.0 GHSA-rhq2-3vr9-6mcr

References