Amenazas en vivo

Todas las CVE / Gradio Project

CVE-2024-47164Gradio Project Gradio

Baja 2.3

Prioridad
14
CVSS 4.0
2.3
EPSS
1.0%
probabilidad de explotación en 30 días · percentil 62
Requiere autenticación
Sí
Publicada
10 oct 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-22
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Qué pasa

Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to the **bypass of directory traversal checks** within the `is_in_or_equal` function. This function, intended to check if a file resides within a given directory, can be bypassed with certain payloads that manipulate file paths using `..` (parent directory) sequences. Attackers could potentially access restricted files if they are able to exploit this flaw, although the difficulty is high. This primarily impacts users relying on Gradio’s blocklist or directory access validation, particularly when handling file uploads. Users are advised to upgrade to `gradio>=5.0` to address this issue. As a workaround, users can manually sanitize and normalize file paths in their Gradio deployment before passing them to the `is_in_or_equal` function. Ensuring that all file paths are properly resolved and absolute can help mitigate the bypass vulnerabilities caused by the improper handling of `..` sequences or malformed paths.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Gradio.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI gradio < 5.0.0 5.0.0 pip install "gradio>=5.0.0"
PyPI gradio < 5.0.0 5.0.0 pip install "gradio>=5.0.0"

Según OSV / GitHub Advisories (GHSA-77xq-6g77-h274, PYSEC-2024-213). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
gradio_projectgradio< 5.0.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.