Moderate severityNVD Advisory· Published Nov 6, 2024· Updated Nov 6, 2024
Arbitrary file read with File and UploadButton components in Gradio
CVE-2024-51751
Description
Gradio is an open-source Python package designed to enable quick builds of a demo or web application. If File or UploadButton components are used as a part of Gradio application to preview file content, an attacker with access to the application might abuse these components to read arbitrary files from the application server. This issue has been addressed in release version 5.5.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
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 | >= 5.0.0, < 5.5.0 | 5.5.0 |
Affected products
2- Range: >= 5.0.0, < 5.5.0
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-rhm9-gp5p-5248ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-51751ghsaADVISORY
- github.com/gradio-app/gradio/security/advisories/GHSA-rhm9-gp5p-5248ghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-275.yamlghsaWEB
News mentions
0No linked articles in our index yet.