CVE-2021-23401
Last modified
CVE-2021-23401 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. This affects all versions of package Flask-User. When using the make_safe_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 or \\\evil.com/path. EPSS estimates a 1.11% chance of exploitation in the next 30 days.
Description
This affects all versions of package Flask-User. When using the make_safe_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 or \\\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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Flask-User Project | Flask-User | All versions |
References
- https://github.com/lingthio/Flask-UserProduct, Third Party Advisory
- https://github.com/lingthio/Flask-User/blob/master/flask_user/user_manager__utils.pyExploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PYTHON-FLASKUSER-1293188Third Party Advisory
- https://github.com/lingthio/Flask-UserProduct, Third Party Advisory
- https://github.com/lingthio/Flask-User/blob/master/flask_user/user_manager__utils.pyExploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PYTHON-FLASKUSER-1293188Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23401?
How severe is CVE-2021-23401?
How do I fix CVE-2021-23401?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-23396All versions of package lutils are vulnerable to Prototype P…9.8
- CVE-2021-23397All versions of package @ianwalter/merge are vulnerable to P…9.8
- CVE-2021-23398All versions of package react-bootstrap-table are vulnerable…6.1
- CVE-2021-23399This affects all versions of package wincred. If attacker-co…9.8
- CVE-2021-2340Vulnerability in the MySQL Server product of Oracle MySQL (c…2.7
- CVE-2021-23400The package nodemailer before 6.6.1 are vulnerable to HTTP H…8.8
- CVE-2021-23402All versions of package record-like-deep-assign are vulnerab…9.8
- CVE-2021-23403All versions of package ts-nodash are vulnerable to Prototyp…9.8
- CVE-2021-23404This affects all versions of package sqlite-web. The SQL das…8.8
- CVE-2021-23405This affects the package pimcore/pimcore before 10.0.7. This…8.8
- CVE-2021-23406This affects the package pac-resolver before 5.0.0. This can…9.8
- CVE-2021-23407This affects the package elFinder.Net.Core from 0 and before…7.5
Are you affected by CVE-2021-23401?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
