Skip to main content
← All vulnerabilities
CVE-2021-23435GHSA-4HPQ-RJCX-7VJ9SNYK-RUBY-CLEARANCE-1577284

Open Redirect

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.5.0
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a clearance

    fixed in 2.5.0

  • clearanceRubyGems

    fixed in 2.5.0

References 2

snyk.io

GitHub · thoughtbot/clearance