gradio
Affected
- introduced
0, fixed2.5.0(ecosystem)
Fixed versions
2.5.0
Fix
- Fixed version
2.5.0pip install --upgrade gradio==2.5.0
Advisory
Also known as: CVE-2021-43831, PYSEC-2021-873
Files on the host computer can be accessed from the Gradio interface
Impact
This is a vulnerability that affects anyone who creates and publicly shares Gradio interfaces using gradio<2.4.8. Because of the way that static files were being served, someone who generated a public Gradio link and shared it with others would potentially be exposing the files on the computer that generated the link, while the link was active. An attacker would be able to view the contents of a file on the computer if they knew the exact relative filepath. We do not have any evidence that this was ever exploited, but we treated the issue seriously and immediately took steps to mitigate it (see below)
Response
gradio 2.5.0, within 24 hours of the issue being brought to our attention gradioPatches
The problem has been patched in gradio>=2.5.0.
Critical Basis: The source's own band: CRITICAL
0, fixed 2.5.0 (ecosystem)2.5.0
2.5.0pip install --upgrade gradio==2.5.0Fix 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