gradio Server Side Request Forgery vulnerability
Moderate severity
GitHub Reviewed
Published
Nov 5, 2024
to the GitHub Advisory Database
•
Updated Nov 7, 2024
Description
Published by the National Vulnerability Database
Nov 4, 2024
Published to the GitHub Advisory Database
Nov 5, 2024
Reviewed
Nov 7, 2024
Last updated
Nov 7, 2024
In gradio <=4.42.0, the gr.DownloadButton function has a hidden server-side request forgery (SSRF) vulnerability. The reason is that within the save_url_to_cache function, there are no restrictions on the URL, which allows access to local target resources. This can lead to the download of local resources and sensitive information.
References