7.2high
URL Redirection to Untrusted Site ('Open Redirect') in Flask-AppBuilder
- Severity
- 7.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.70% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-624f-cqvr-3qw4PYSEC-2021-359
Description
Flask-AppBuilder is an application development framework, built on top of Flask. In affected versions if using Flask-AppBuilder OAuth, an attacker can share a carefully crafted URL with a trusted domain for an application built with Flask-AppBuilder, this URL can redirect a user to a malicious site. This is an open redirect vulnerability. To resolve this issue upgrade to Flask-AppBuilder 3.2.2 or above. If upgrading is infeasible users may filter HTTP traffic containing `?next={next-site}` where the `next-site` domain is different from the application you are protecting as a workaround.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dpgaspar Flask-AppBuilder | < 3.3.2, before 3.3.2 | CVE List, NVD |
| flask-appbuilder (PyPI) | before 3.3.2, before 6af28521589599b1dbafd6313256229ee9a4fa74 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| GitHub_M | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 7.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
Flask-AppBuilder is an application development framework, built on top of Flask. In affected versions if using Flask-AppBuilder OAuth, an attacker can share a carefully crafted URL with a trusted domain for an application built with Flask-AppBuilder, this URL can redirect a user to a malicious site. This is an open redirect vulnerability. To resolve this issue upgrade to Flask-AppBuilder 3.2.2 or above. If upgrading is infeasible users may filter HTTP traffic containing `?next={next-site}` where the `next-site` domain is different from the application you are protecting as a workaround.
GitHub Advisory Database
Impact
If using Flask-AppBuilder OAuth, an attacker can share a carefully crafted URL with a trusted domain for an application built with Flask-AppBuilder, this URL can redirect a user to a malicious site. This is an open redirect vulnerability
Patches
Install Flask-AppBuilder 3.2.2 or above
Workarounds
Filter HTTP traffic containing ?next={next-site} where the next-site domain is different from the application you are protecting
NVD (es)
Flask-AppBuilder es un marco de desarrollo de aplicaciones, construido sobre Flask. En versiones afectadas , si es usado Flask-AppBuilder OAuth, un atacante puede compartir una URL cuidadosamente diseñada con un dominio confiables para una aplicación construida con Flask-AppBuilder, esta URL puede redirigir a un usuario a un sitio malicioso. Esta es una vulnerabilidad de redirección abierta. Para resolver este problema, actualice a Flask-AppBuilder versión 3.2.2 o superior. Si la actualización es inviable, los usuarios pueden filtrar el tráfico HTTP que contenga "?next={next-site}" donde el dominio "next-site" es diferente de la aplicación que está protegiendo como una solución
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32805 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-624f-cqvr-3qw4 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-32805 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-359 changed 2023-11-08 | CC-BY-4.0 |