GHSA-R364-M2J9-MF4H
gradio Server-Side Request Forgery vulnerability
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 4.18.0 | gradio · -46 d desde divulgación | |
| Divulgación | Publicada | GHSA-R364-M2J9-MF4H divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
An SSRF vulnerability exists in the gradio-app/gradio due to insufficient validation of user-supplied URLs in the `/proxy` route. Attackers can exploit this vulnerability by manipulating the `self.replica_urls` set through the `X-Direct-Url` header in requests to the `/` and `/config` routes, allowing the addition of arbitrary URLs for proxying. This flaw enables unauthorized proxying of requests and potential access to internal endpoints within the Hugging Face space. The issue arises from the application's inadequate checking of safe URLs in the `build_proxy_request` function.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypigradio |
Corregida | 4.18.0 | -46 d | 6.32.0 no afectada |
4.18.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2024-2206https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6https://github.com/gradio-app/gradiohttps://huntr.com/bounties/2286c1ed-b889-45d6-adda-7014ea06d98eLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
