Gradio Vulnerable to Denial of Service (DoS) via Crafted HTTP Request
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the gradio-app/gradio repository, affecting the gr.Datetime component. The affected version is git commit 98cbcae. The vulnerability arises from the use of a regular expression ^(?:\s*now\s*(?:-\s*(\d+)\s*([dmhs]))?)?\s*$ to process user input. In Python's default regex engine, this regular expression can take polynomial time to match certain crafted inputs. An attacker can exploit this by sending a crafted HTTP request, causing the gradio process to consume 100% CPU and potentially leading to a Denial of Service (DoS) condition on the server.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | gradio | >= 4.38.0, <= 5.0.0-beta.2 | sin corrección |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2024-10624
- https://github.com/gradio-app/gradio
- https://github.com/gradio-app/gradio/blob/98cbcaef827de7267462ccba180c7b2ffb1e825d/gradio/components/datetime.py#L133-L136
- https://huntr.com/bounties/e8d0b248-8feb-4c23-9ef9-be4d1e868374
- https://pypi.org/project/gradio
- https://github.com/advisories/GHSA-rvgh-pr46-x7gg
- Vector CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Debilidad (CWE)
CWE-1333, CWE-400- Plataforma
- Python (PyPI)
- Paquete
gradio- Publicada
- 20.03.2025
- Actualizado
- 11.10.2026 13:19
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-1421 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-rvgh-pr46-x7gg - CC BY 4.0
Historial de vulnerabilidades: gradio
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 51
- Primera → última
- 12.2021 07.2026
- Sin corrección
- 13
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 5
- Alta 19
- Media 22
- Baja 5
Divulgaciones por año
- 2021: 1
- 2022: 1
- 2023: 5
- 2024: 28
- 2025: 9
- 2026: 7
-
Gradio Vulnerable to Denial of Service (DoS) via Crafted HTTP Request esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.