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.
Open Redirect
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
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
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 40%
VendorProductVersion
flask-security_projectflask-security
*
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
flask-security
bullseye
4.0.0-1+deb11u1
fixed
bookworm
5.1.2-1
fixed
sid
5.5.2-1
fixed
trixie
5.5.2-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
flask-security
noble
not-affected
mantic
not-affected
lunar
ignored
kinetic
ignored
jammy
Fixed 4.0.0-1ubuntu0.1
released
impish
ignored
hirsute
ignored
groovy
ignored
focal
Fixed 1.7.5-2ubuntu0.20.04.1
released
bionic
Fixed 1.7.5-2ubuntu0.18.04.1~esm1
released
xenial
dne
trusty
dne