CVE-2021-23385: 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. Snyk only seems to have tested against the original now unmaintained Flask-Security at https://github.com/mattupstate/flask-security. Asked if they've tested against Flask-Security-Too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bfd440a755b77c146e1f0e0c48ed1190fc82a7b commit 8bfd440a755b77c146e1f0e0c48ed1190fc82a7b Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-09-29 08:07:34 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-09-29 08:07:38 +0000 dev-python/flask-security: Remove last-rited pkg Closes: https://bugs.gentoo.org/867415 Closes: https://bugs.gentoo.org/863509 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> dev-python/flask-security/Manifest | 2 - .../flask-security/flask-security-4.1.4.ebuild | 66 --------------------- .../flask-security/flask-security-4.1.5.ebuild | 67 ---------------------- dev-python/flask-security/metadata.xml | 13 ----- profiles/package.mask | 12 ---- 5 files changed, 160 deletions(-)