Critical severityNVD Advisory· Published Dec 15, 2021· Updated Aug 4, 2024
Files on the host computer can be accessed from the Gradio interface
CVE-2021-43831
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
gradioPyPI | < 2.5.0 | 2.5.0 |
Affected products
2- Range: < 2.5.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-rhq2-3vr9-6mcrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-43831ghsaADVISORY
- github.com/gradio-app/gradio/commit/41bd3645bdb616e1248b2167ca83636a2653f781ghsax_refsource_MISCWEB
- github.com/gradio-app/gradio/security/advisories/GHSA-rhq2-3vr9-6mcrghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2021-873.yamlghsaWEB
News mentions
0No linked articles in our index yet.