SSRF in Gradio Project

CVE-2024-48052

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.

Vulnerability class: SSRF (Server-Side Request Forgery)

EPSS: 0.005 (37.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-48052?
CVE-2024-48052 is a medium-severity vulnerability in Gradio Project, classified under Server-Side Request Forgery (SSRF). CVSS score: 6.5/10. Published 2024-11-04.
How severe is CVE-2024-48052?
Medium severity. CVSS v3 base score is 6.5 out of 10.