CVE-2021-23385

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-23385
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23385.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-23385
Aliases
Related
Published
2022-08-02T14:15:10Z
Modified
2024-09-18T03:12:01.268883Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

This affects all versions of package Flask-Security. When using the getpostlogoutredirect and getpostloginredirect 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 'autocorrectlocationheader=False. Note: Flask-Security is not maintained anymore.

References

Affected packages

Debian:11 / flask-security

Package

Name
flask-security
Purl
pkg:deb/debian/flask-security?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0.0-1+deb11u1

Affected versions

4.*

4.0.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / flask-security

Package

Name
flask-security
Purl
pkg:deb/debian/flask-security?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / flask-security

Package

Name
flask-security
Purl
pkg:deb/debian/flask-security?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}