Insecure communication between the FRP client and server in Gradio
Description
Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves insecure communication between the FRP (Fast Reverse Proxy) client and server when Gradio's share=True option is used. HTTPS is not enforced on the connection, allowing attackers to intercept and read files uploaded to the Gradio server, as well as modify responses or data sent between the client and server. This impacts users who are sharing Gradio demos publicly over the internet using share=True without proper encryption, exposing sensitive data to potential eavesdroppers. Users are advised to upgrade to gradio>=5 to address this issue. As a workaround, users can avoid using share=True in production environments and instead host their Gradio applications on servers with HTTPS enabled to ensure secure communication.
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.0.0 |
Affected products
2- Range: < 5.0.0
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-279j-x4gx-hfrhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-47871ghsaADVISORY
- github.com/gradio-app/gradio/security/advisories/GHSA-279j-x4gx-hfrhghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-219.yamlghsaWEB
News mentions
0No linked articles in our index yet.