PT-2024-32863 · Gradio · Gradio

Ahpaleus

+1

·

Published

2024-10-10

·

Updated

2024-10-17

·

CVE-2024-47871

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Gradio versions prior to 5
Description This issue involves insecure communication between the FRP 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.
Recommendations To address this issue, upgrade to gradio>=5. As a temporary workaround, avoid using share=True in production environments and instead host Gradio applications on servers with HTTPS enabled to ensure secure communication.

Exploit

Fix

Missing Encryption of Sensitive Data

Weakness Enumeration

Related Identifiers

CVE-2024-47871
GHSA-279J-X4GX-HFRH
PYSEC-2024-219

Affected Products

Gradio