CVE-2021-23385
CVSS V2 None
CVSS V3 Medium 6.1
Description
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.
Overview
- CVE ID
- CVE-2021-23385
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2022-08-02T14:15:10
- Last Modified Date
- 2022-08-09T12:47:02
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:flask-security_project:flask-security:*:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.7
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-23385 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23385 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-08-02 15:00:05 | Added to TrackCVE |