gradio
Affected
- introduced
0, fixed3.13.1(ecosystem)
Fixed versions
3.13.1
Fix
- Fixed version
3.13.1pip install --upgrade gradio==3.13.1
Advisory
Also known as: CVE-2023-25823, PYSEC-2023-16
Update share links to use FRP instead of SSH tunneling
Impact
This is a vulnerability which affects anyone using Gradio's share links (i.e. creating a Gradio app and then setting share=True) with Gradio versions older than 3.13.1. In these older versions of Gradio, a private SSH key is sent to any user that connects to the Gradio machine, which means that a user could access other users' shared Gradio demos. From there, other exploits are possible depending on the level of access/exposure the Gradio app provides.
Patches
The problem has been patched. Ideally, users should upgrade to gradio==3.19.1 or later where the FRP solution has been properly tested.
Credit
Credit to Greg Sadetsky and Samuel Tremblay-Cossette for alerting the team
Medium Basis: The source's own band: MODERATE
0, fixed 3.13.1 (ecosystem)3.13.1
3.13.1pip install --upgrade gradio==3.13.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0