PT-2024-32971 · Gradio · Gradio
Aftersnows
·
Published
2024-11-04
·
Updated
2024-11-06
·
CVE-2024-48052
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
gradio versions 4.42.0 and earlier
Description
The issue is related to a hidden server-side request forgery (SSRF) vulnerability in the
gr.DownloadButton function. This vulnerability arises because the save url to cache function does not restrict URLs, allowing access to local target resources. As a result, it can lead to the download of local resources and sensitive information.Recommendations
For gradio versions 4.42.0 and earlier, as a temporary workaround, consider disabling the
gr.DownloadButton function until a patch is available. Restrict access to the save url to cache function to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gradio