CVE-2024-47871 – gradio
Package
Manager: pip
Name: gradio
Vulnerable Version: >=0 <5.0.0
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS: 0.0007 pctl0.22023
Details
Gradio uses insecure communication between the FRP client and server ### Impact **What kind of vulnerability is it? Who is impacted?** 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. ### Patches Yes, please upgrade to `gradio>=5` to address this issue. ### Workarounds **Is there a way for users to fix or remediate the vulnerability without upgrading?** 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.
Metadata
Created: 2024-10-10T22:08:51Z
Modified: 2025-01-21T17:18:25Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-279j-x4gx-hfrh/GHSA-279j-x4gx-hfrh.json
CWE IDs: ["CWE-311"]
Alternative ID: GHSA-279j-x4gx-hfrh
Finding: F020
Auto approve: 1