CVE-2021-23385

Summary

CVECVE-2021-23385
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-08-02 14:15:00 UTC
Updated2023-08-28 19:15:00 UTC
DescriptionThis 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)

TypeVendorProductVersionUpdateEditionLanguage
Application Flask-security Project Flask-security All All All All

References

ReferenceSourceLinkTags
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

Legacy QID Mappings

  • 181894 Debian Security Update for flask-security (CVE-2021-23385)
  • 376262 Python Flask-Security Plugin Open Redirect Vulnerability
  • 6000087 Debian Security Update for flask-security (DLA 3545-1)
  • 752761 SUSE Enterprise Linux Security Update for python-Flask-Security-Too (SUSE-SU-2022:3867-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report