Open Redirect Affecting python3-Flask-Security-Too package, versions <3.4.2-150200.3.6.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.14% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES154-PYTHON3FLASKSECURITYTOO-3104620
  • published4 Nov 2022
  • disclosed3 Nov 2022

Introduced: 3 Nov 2022

CVE-2021-23385  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade SLES:15.4 python3-Flask-Security-Too to version 3.4.2-150200.3.6.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-Flask-Security-Too package and not the python3-Flask-Security-Too package as distributed by SLES. See How to fix? for SLES:15.4 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1