CVE-2025-54365Fastapi-guard Fastapi Guard
Alta 7.8 Sin autenticación
Seguir: esta CVE · Fastapi-guard · Fastapi-guard Fastapi Guard Te avisamos por email o Slack (requiere cuenta).
- 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
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Fastapi Guard.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Có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)
| Fabricante | Producto | Versiones |
|---|---|---|
| fastapi-guard | fastapi_guard | 3.0.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Patch
- github.com Exploit Vendor Advisory