Advisory

GHSA-4hpq-rjcx-7vj9

Also known as: CVE-2021-23435, SNYK-RUBY-CLEARANCE-1577284

Summary

Clearance Gem Open Redirect Vulnerability

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-13 20:05 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

clearance

RubyGems · All systems

Affected

  • introduced 0, fixed 2.5.0 (ecosystem)

Fixed versions

2.5.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences