Amenazas en vivo

Todas las CVE / Flask-security-too Project

CVE-2021-21241Flask-security-too Project Flask-security-too

Alta 7.4 Sin autenticación

Prioridad
59
CVSS 3.1
7.4
EPSS
0.9%
probabilidad de explotación en 30 días · percentil 62
Requiere autenticación
No
Publicada
11 ene 2021
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-352
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Qué pasa

The Python "Flask-Security-Too" package is used for adding security features to your Flask application. It is an is a independently maintained version of Flask-Security based on the 3.0.0 version of Flask-Security. In Flask-Security-Too from version 3.3.0 and before version 3.4.5, the /login and /change endpoints can return the authenticated user's authentication token in response to a GET request. Since GET requests aren't protected with a CSRF token, this could lead to a malicious 3rd party site acquiring the authentication token. Version 3.4.5 and version 4.0.0 are patched. As a workaround, if you aren't using authentication tokens - you can set the SECURITY_TOKEN_MAX_AGE to "0" (seconds) which should make the token unusable.

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 Flask-security-too.
  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 flask-security-too ≥ 3.3.0 < 3.4.5 3.4.5 pip install "flask-security-too>=3.4.5"
PyPI flask-security-too ≥ 3.3.0 < 3.4.5 3.4.5 pip install "flask-security-too>=3.4.5"

Según OSV / GitHub Advisories (GHSA-hh7m-rx4f-4vpv, PYSEC-2021-91). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
flask-security-too_projectflask-security-too≥ 3.3.0 < 3.4.5

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.