GitHub Advisoryadvisory · PyPI

GHSA-3gf9-wv65-gwh9 gradio Server Side Request Forgery vulnerability

MEDIUM Published 2024-11-05 Modified 2024-11-07 Official page ↗
Aliases
CVE-2024-48052
Ecosystem
PyPI
Packages
gradio
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-918
Reviewed
2024-11-07

Affected packages

• PyPI gradio: <= 4.42.0 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-48052 In gradio <=4.42.0, the gr.DownloadButton function has a hidden server-side request forgery (SSRF) vulnerability. vulnerability

Weakness · CWE (1)

  • CWE-918 Server-Side Request Forgery weakness

References