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
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: snyk

Published: 2021-09-12T00:00:00

Updated: 2021-09-12T20:05:10

Reserved: 2021-01-08T00:00:00


Link: CVE-2021-23435

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2021-09-12T20:15:07.443

Modified: 2021-09-23T17:33:28.967


Link: CVE-2021-23435

JSON object: View

cve-icon Redhat Information

No data.

CWE