CVE-2021-23385
Summary
| CVE | CVE-2021-23385 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-08-02 14:15:00 UTC |
| Updated | 2023-08-28 19:15:00 UTC |
| Description | This affects all versions of package Flask-Security. When using the get_post_logout_redirect and get_post_login_redirect functions, 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. **Note:** Flask-Security is not maintained anymore. |
Risk And Classification
Problem Types: CWE-601
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Flask-security Project | Flask-security | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| GitHub - mattupstate/flask-security: Quick and simple security for Flask applications | MISC | github.com | |
| [SECURITY] [DLA 3545-1] flask-security security update | MLIST | lists.debian.org | |
| Open Redirect in flask-security | CVE-2021-23385 | Snyk | MISC | security.snyk.io | |
| URL confusion vulnerabilities in the wild: Exploring parser inconsistencies | Snyk | MISC | snyk.io | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Noam Moshe of Claroty