logo

CVE-2021-23385 flask-security

Package

Manager: pip
Name: flask-security
Vulnerable Version: >=0 <=3.0.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

EPSS: 0.00152 pctl0.36434

Details

Flask-Security vulnerable to Open Redirect 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.

Metadata

Created: 2022-10-07T07:29:01Z
Modified: 2022-10-07T07:29:01Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-cg8c-gc2j-2wf7/GHSA-cg8c-gc2j-2wf7.json
CWE IDs: ["CWE-601"]
Alternative ID: GHSA-cg8c-gc2j-2wf7
Finding: F007
Auto approve: 1