This affects the package clearance before 2.5.0. The vulnerability can be possible when users are able to set the value of session[:return_to]. If the value used for return_to contains multiple leading slashes (/////example.com) the user ends up being redirected to the external domain that comes after the slashes (http://example.com).
References
Link | Resource |
---|---|
https://github.com/thoughtbot/clearance/pull/945 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284 | Third Party Advisory |
Configurations
History
23 Sep 2021, 17:33
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 5.8
v3 : 6.1 |
CWE | CWE-601 | |
References | (CONFIRM) https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284 - Third Party Advisory | |
References | (CONFIRM) https://github.com/thoughtbot/clearance/pull/945 - Patch, Third Party Advisory | |
CPE | cpe:2.3:a:thoughtbot:clearance:*:*:*:*:*:*:*:* |
12 Sep 2021, 21:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2021-09-12 20:15
Updated : 2024-02-04 22:08
NVD link : CVE-2021-23435
Mitre link : CVE-2021-23435
CVE.ORG link : CVE-2021-23435
JSON object : View
Products Affected
thoughtbot
- clearance
CWE
CWE-601
URL Redirection to Untrusted Site ('Open Redirect')