5.4medium
Open Redirect
- Severity
- 5.4medium CVSS:3.1 by snyk
- Exploit likelihood
- 0.72% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-pjc4-3w99-j7v4PYSEC-2021-96SNYK-PYTHON-FLASKUNCHAINED-1293189
Description
This affects the package Flask-Unchained before 0.9.0. When using the the _validate_redirect_url function, it is possible to bypass URL validation and redirect a user to an arbitrary URL by providing multiple back slashes such as \\\evil.com/path. This vulnerability is only exploitable if an alternative WSGI server other than Werkzeug is used, or the default behaviour of Werkzeug is modified using 'autocorrect_location_header=False.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Flask-Unchained | from unspecified before 0.9.0 | CVE List |
| flask-unchained (PyPI) | before 0.9.0, before 71e36b28166f9ffbe0a991f51127f0984f7e6a40 | GitHub Advisory Database, PyPA Advisory Database |
| flask_unchained_project flask_unchained | before 0.9.0 | NVD |
All scores
| snyk | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:U/RC:C |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/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
This affects the package Flask-Unchained before 0.9.0. When using the the _validate_redirect_url function, it is possible to bypass URL validation and redirect a user to an arbitrary URL by providing multiple back slashes such as \\\evil.com/path. This vulnerability is only exploitable if an alternative WSGI server other than Werkzeug is used, or the default behaviour of Werkzeug is modified using 'autocorrect_location_header=False.
NVD (es)
Esto afecta al paquete Flask-Unchained versiones anteriores a 0.9.0. Cuando se usa la función _validate_redirect_url, es posible omitir la comprobación de la URL y redireccionar a un usuario a una URL arbitraria proporcionando múltiples barras invertidas, como por ejemplo \\\evil.com/path. Esta vulnerabilidad sólo es explotable si un servidor WSGI alternativo a Werkzeug es usado, o se modifica el comportamiento por defecto de Werkzeug usando "autocorrect_location_header=False
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23393 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pjc4-3w99-j7v4 changed 2024-09-20 | CC-BY-4.0 |
| NVD | CVE-2021-23393 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-96 changed 2023-11-08 | CC-BY-4.0 |