Security mailing lists by PureSourceCode

CVE-2021-23435

MEDIUM 6.1CVSS 3.1

Clearance Gem Open Redirect Vulnerability

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

Published
12 Sep 2021
Last modified
8 Jul 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-601
Also known as
GHSA-4hpq-rjcx-7vj9SNYK-RUBY-CLEARANCE-1577284
Sources
NVDJSONOSV GHSA-4hpq-rjcx-7vj9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
OSV GitHub CVSS 3.1 HIGH 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD thoughtbot clearance
cpe:2.3:a:thoughtbot:clearance:*:*:*:*:*:*:*:*
< 2.5.0 2.5.0
OSV RubyGems clearance < 2.5.0 2.5.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 12 Sep 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Sep 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.