NetSight
medium6.5

CVE-2024-48052

gradio Server Side Request Forgery vulnerability

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipgradio<= 4.42.0none recorded

Affected products

VendorProductAffected versions
Gradio ProjectGradio
through 4.42.0

Weakness classification

References