CVE-2021-23385

EUVD-2022-7078
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.
Open Redirect
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.4 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
snykCNA
5.4 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:U/RC:C
Base Score
CVSS 3.x
EPSS Score
Percentile: 39%
Affected Products (NVD)
VendorProductVersion
flask-security_projectflask-security
*
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
flask-security
bookworm
5.1.2-1
fixed
bullseye
4.0.0-1+deb11u1
fixed
sid
5.5.2-1
fixed
trixie
5.5.2-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
flask-security
bionic
Fixed 1.7.5-2ubuntu0.18.04.1~esm1
released
focal
Fixed 1.7.5-2ubuntu0.20.04.1
released
groovy
ignored
hirsute
ignored
impish
ignored
jammy
Fixed 4.0.0-1ubuntu0.1
released
kinetic
ignored
lunar
ignored
mantic
not-affected
noble
not-affected
trusty
dne
xenial
dne