Amenazas en vivo

Todas las CVE / Fastapi-guard

CVE-2025-54365Fastapi-guard Fastapi Guard

Alta 7.8 Sin autenticación

Prioridad
62
CVSS 4.0
7.8
EPSS
—
Requiere autenticación
No
Publicada
23 jul 2025
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-20, CWE-185, CWE-1333
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:P/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

fastapi-guard is a security library for FastAPI that provides middleware to control IPs, log requests, detect penetration attempts and more. In version 3.0.1, the regular expression patched to mitigate the ReDoS vulnerability by limiting the length of string fails to catch inputs that exceed this limit. This type of patch fails to detect cases in which the string representing the attributes of a <script> tag exceeds 100 characters. As a result, most of the regex patterns present in version 3.0.1 can be bypassed. This is fixed in version 3.0.2.

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 Fastapi Guard.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI fastapi-guard ≥ 3.0.1 < 3.0.2 3.0.2 pip install "fastapi-guard>=3.0.2"
PyPI fastapi-guard ≥ 3.0.1 < 3.0.2 3.0.2 pip install "fastapi-guard>=3.0.2"

Según OSV / GitHub Advisories (GHSA-rrf6-pxg8-684g, PYSEC-2026-1360). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
fastapi-guardfastapi_guard3.0.1

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.