Todas las CVE / Flask-security-too Project
CVE-2021-21241Flask-security-too Project Flask-security-too
Alta 7.4 Sin autenticación
Seguir: esta CVE · Flask-security-too Project · Flask-security-too Project Flask-security-too Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Flask-security-too.
- 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 | 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)
| Fabricante | Producto | Versiones |
|---|---|---|
| flask-security-too_project | flask-security-too | ≥ 3.3.0 < 3.4.5 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- pypi.org Product Third Party Advisory