Vulnerability Details : 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 category: Open redirect
Products affected by CVE-2021-23435
- cpe:2.3:a:thoughtbot:clearance:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-23435
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 29 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-23435
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:N |
8.6
|
4.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
7.6
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H |
2.8
|
4.7
|
Snyk |
CWE ids for CVE-2021-23435
-
A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-23435
-
https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284
Open Redirect in clearance | SnykThird Party Advisory
-
https://github.com/thoughtbot/clearance/pull/945
Fix open redirect vulnerability by MottiniMauro · Pull Request #945 · thoughtbot/clearance · GitHubPatch;Third Party Advisory
Jump to