CVE-2021-23435
Dashboard / Vulnerabilities / CVE-2021-23435
CVE-2021-23435
Published: 12 Sept 2021Last Modified: 9 Jul 2026
Summary:
Details: 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: https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284, https://github.com/thoughtbot/clearance/pull/945
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v2.4.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
