Open Redirect in Thoughtbot Clearance

CVE-2021-23435

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).

Vulnerability class: Open Redirect

EPSS: 0.007 (49.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-23435?
CVE-2021-23435 is a high-severity vulnerability in Thoughtbot Clearance, classified under URL Redirection to Untrusted Site (Open Redirect). CVSS score: 7.6/10. Published 2021-09-12.
How severe is CVE-2021-23435?
High severity. CVSS v3 base score is 7.6 out of 10.
Is CVE-2021-23435 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.