mittel6.5
CVE-2024-48052
gradio Server Side Request Forgery vulnerability
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | gradio | <= 4.42.0 | nicht erfasst |
Betroffene Produkte · Gradio Project
| Produkt | Betroffene Versionen |
|---|---|
| Gradio | bis einschließlich 4.42.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://gist.github.com/AfterSnows/45ffc23797f9127e00755376cc610e12
- https://rumbling-slice-eb0.notion.site/FULL-SSRF-in-gr-DownloadButton-in-gradio-app-gradio-870b21e0908b48cbafd914719ac1a4e6?pvs=4
- https://github.com/advisories/GHSA-3gf9-wv65-gwh9
- https://nvd.nist.gov/vuln/detail/CVE-2024-48052