CVE-2021-23393
Open redirect in Flask-Unchained
5.4
MEDIUM
CVSS 3.1
EPSS 0.20%
Description
This affects the package Flask-Unchained before 0.9.0. When using the the _validate_redirect_url function, 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.
How to fix CVE-2021-23393
To remediate CVE-2021-23393, upgrade the affected package to a fixed version below.
- —upgrade to 0.9.0 or later
- —upgrade to 71e36b28166f9ffbe0a991f51127f0984f7e6a40 or later
Is CVE-2021-23393 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.9.0
- from 0, < 71e36b28166f9ffbe0a991f51127f0984f7e6a40 | from 0, < 0.9.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |