Gradio vulnerable to arbitrary file read and proxying of arbitrary URLs
Description
Published by the National Vulnerability Database
Jun 8, 2023
Published to the GitHub Advisory Database
Jun 9, 2023
Reviewed
Jun 9, 2023
Last updated
Sep 20, 2024
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
to3.34.0
or higherWorkarounds
Not possible to workaround except by taking down any shared Gradio apps
References
Relevant PRs:
References