PT-2023-20328 · Gradio · Gradio

Greg Sadetsky

+1

·

Published

2023-02-23

·

Updated

2023-03-07

·

CVE-2023-25823

CVSS v4.0

6.3

Medium

VectorAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L
Name of the Vulnerable Software and Affected Versions Gradio versions prior to 3.13.1
Description Gradio is an open-source Python library to build machine learning and data science demos and web applications. When using Gradio's share links by setting share=True, a private SSH key is sent to any user that connects to the Gradio machine. This allows a user to access other users' shared Gradio demos, potentially leading to further exploits depending on the level of access or exposure the Gradio app provides.
Recommendations For Gradio versions prior to 3.13.1, update to version 3.19.1 or later, where the FRP solution has been properly tested. As a temporary workaround, consider disabling the share links feature by setting share=False until a patch is applied. Restrict access to shared Gradio demos to minimize the risk of exploitation. Avoid using the share=True parameter in Gradio apps until the issue is resolved.

Exploit

Fix

Using Hardcoded Credentials

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-25823
GHSA-3X5J-9VWR-8RR5
PYSEC-2023-16

Affected Products

Gradio