CVE-2024-48052: SSRF
In gradio <=4.42.0, the gr.DownloadButton function has a hidden server-side request forgery (SSRF) vulnerability. The reason is that within the saveurltocache 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-48052?
CVE-2024-48052 is classified as a medium severity vulnerability due to the potential for server-side request forgery.
How do I fix CVE-2024-48052?
To fix CVE-2024-48052, you should upgrade gradio to version 4.43.0 or later, where the vulnerability is addressed.
What type of vulnerability is CVE-2024-48052?
CVE-2024-48052 is a server-side request forgery (SSRF) vulnerability found in the gr.DownloadButton function.
What versions of gradio are affected by CVE-2024-48052?
CVE-2024-48052 affects gradio versions up to and including 4.42.0.
How can CVE-2024-48052 be exploited?
CVE-2024-48052 can be exploited by manipulating the save_url_to_cache function to access local resources on the server.