CVE-2024-48052: SSRF

Published Nov 4, 2024
·
Updated

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

2 affected components
pip/gradio<=4.42.0
Gradio Project Gradio Python<=4.42.0

Event History

Nov 4, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software
Nov 5, 2024
Advisory Published
via GitHub·12:31 AM

Frequently Asked Questions

1

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.

2

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.

3

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.

4

What versions of gradio are affected by CVE-2024-48052?

CVE-2024-48052 affects gradio versions up to and including 4.42.0.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203