Headline
GHSA-3qqg-pgqq-3695: Gradio vulnerable to arbitrary file read and proxying of arbitrary URLs
Impact
There are two separate security vulnerabilities here: (1) a security vulnerability that allows users to read arbitrary files on the machines that are running shared Gradio apps (2) the ability of users to use machines that are sharing Gradio apps to proxy arbitrary URLs
Patches
Both problems have been solved, please upgrade gradio
to 3.34.0
or higher
Workarounds
Not possible to workaround except by taking down any shared Gradio apps
References
Relevant PRs:
- https://github.com/gradio-app/gradio/pull/4406
- https://github.com/gradio-app/gradio/pull/4370
Gradio vulnerable to arbitrary file read and proxying of arbitrary URLs
High severity GitHub Reviewed Published Jun 7, 2023 in gradio-app/gradio • Updated Jun 9, 2023
Related news
Gradio is an open-source Python library that is used to build machine learning and data science. Due to a lack of path filtering Gradio does not properly restrict file access to users. Additionally Gradio does not properly restrict the what URLs are proxied. These issues have been addressed in version 3.34.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.