High, CVSS 7.6RubyGemsPublished
Clearance Gem Open Redirect Vulnerability
CVE-2021-23435 · GHSA-4hpq-rjcx-7vj9
- Affected
- RubyGems clearance < 2.5.0
- Fixed in
- 2.5.0· Vendor fix available
- Issue
- This affects the package clearance before 2.5.0. The vulnerability can be possible when users are able to set the value of session[:returnto]. If the value used for returnto contains multiple leading slashes (/////example.com) the user ends up being redirected to the external domain that comes after the slashes (http://example.com).
Recommended action: Upgrade to 2.5.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.