Skip to content
MediumVulnerability

CVE-2024-48052: gradio gr.DownloadButton server-side request forgery in save_url_to_cache

Identifier
CVE-2024-48052
Published
Record updated
View JSON
Affected
  • gradio <= 4.42.0
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

CVE-2024-48052 affects gradio versions up to and including 4.42.0. In these versions, the gr.DownloadButton function contains a server-side request forgery (SSRF) flaw in its save_url_to_cache function, which places no restrictions on the URL. According to the source, this allows access to local target resources, which can lead to the download of local resources and sensitive information.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.