Vulnerability · Published Sep 12, 2021 · Assigned by snyk

CVE-2021-23435Open Redirect

High 7.6

In plain English

A high-severity security flaw in clearance. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.6High
Exploit odds (30 days)0.7%top 46.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
RubyGemsclearance2.5.0GHSA-4hpq-rjcx-7vj9

Affected products (as reported)

VendorProductVersions
n/a clearance unspecified – before 2.5.0

References