{"id":"GHSA-4298-89hc-6rfv","summary":"Open Redirect in Flask-User","details":"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`.","aliases":["CVE-2021-23401","PYSEC-2021-337","SNYK-PYTHON-FLASKUSER-1293188"],"modified":"2024-09-20T18:22:30.355979Z","published":"2021-08-09T20:44:32Z","database_specific":{"github_reviewed_at":"2021-07-06T15:45:36Z","nvd_published_at":null,"cwe_ids":["CWE-601"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23401"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4298-89hc-6rfv"},{"type":"PACKAGE","url":"https://github.com/lingthio/Flask-User"},{"type":"WEB","url":"https://github.com/lingthio/Flask-User/blob/master/flask_user/user_manager__utils.py"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/flask-user/PYSEC-2021-337.yaml"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PYTHON-FLASKUSER-1293188"}],"affected":[{"package":{"name":"flask-user","ecosystem":"PyPI","purl":"pkg:pypi/flask-user"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.2.2"}]}],"versions":["0.3","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7","0.3.8","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.4.8","0.4.9","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.6","0.6.1","0.6.10","0.6.12","0.6.13","0.6.14","0.6.15","0.6.16","0.6.17","0.6.19","0.6.2","0.6.20","0.6.21","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9","1.0.1.1","1.0.1.2","1.0.1.3","1.0.1.4","1.0.1.5","1.0.2.0","1.0.2.1","1.0.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-4298-89hc-6rfv/GHSA-4298-89hc-6rfv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}