CVE-2021-23435
Last modified
CVE-2021-23435 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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]. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
Description
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Thoughtbot | Clearance | < 2.5.0 |
References
- https://github.com/thoughtbot/clearance/pull/945Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284Third Party Advisory
- https://github.com/thoughtbot/clearance/pull/945Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23435?
How severe is CVE-2021-23435?
How do I fix CVE-2021-23435?
Are you affected by CVE-2021-23435?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
