{"id":"CVE-2021-23435","published":"2021-09-12T20:05:10Z","modified":"2024-09-16T23:55:46Z","title":"Open Redirect","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00703,"percentile":0.48845,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284","tags":["x_refsource_MISC"]},{"url":"https://github.com/thoughtbot/clearance/pull/945","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":9.77},{"name":"CVSS severity","points":5.32}]},"affectedVersions":[{"vendor":"n/a","product":"clearance","versions":[">= unspecified, < 2.5.0"]}],"affected":[{"ecosystem":"RubyGems","package":"clearance","vulnerableRanges":["<2.5.0"],"patched":["2.5.0"],"from":["GHSA-4hpq-rjcx-7vj9"],"provenance":"source"}],"summary":{"text":"The flaw is an open redirect in the clearance package before 2.5.0, where the session[:return_to] value is not properly validated and a string with multiple leading slashes (such as /////example.com) causes users to be redirected to an external domain. An attacker who can influence the session[:return_to] value can send a victim a crafted link and have them redirected to an external site, which requires user interaction (the victim must follow the link) and no authentication or prior network access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:20:48Z"},"euvd":{"id":"EUVD-2021-1974","exploited":false,"provenance":"source"}}