Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTQyOTgtODloYy02cmZ2
Open Redirect in Flask-User
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 backslashes 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
.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTQyOTgtODloYy02cmZ2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 3 years ago
Updated: 23 days ago
CVSS Score: 5.4
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Identifiers: GHSA-4298-89hc-6rfv, CVE-2021-23401
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-23401
- https://github.com/lingthio/Flask-User/blob/master/flask_user/user_manager__utils.py
- https://snyk.io/vuln/SNYK-PYTHON-FLASKUSER-1293188
- https://github.com/advisories/GHSA-4298-89hc-6rfv
- https://github.com/lingthio/Flask-User
- https://github.com/pypa/advisory-database/tree/main/vulns/flask-user/PYSEC-2021-337.yaml
Blast Radius: 10.8
Affected Packages
pypi:Flask-User
Dependent packages: 1Dependent repositories: 99
Downloads: 9,461 last month
Affected Version Ranges: <= 1.0.2.2
No known fixed version
All affected versions: