Open redirect in clearance
Priority LOW 34CWE-601Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-601.
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).
Why it matters now
EPSS 0.00703 53rd percentileScored 2026-11-07
Fix Fixed clearance: 2.5.0clearance (RubyGems): 2.5.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | clearance | before 2.5.0 | 2.5.0 | Patch available | CNA |
| — | clearance (RubyGems) | before 2.5.0 | 2.5.0 | Patch available | GHSA-4hpq-rjcx-7vj9 |
- clearance Vendor— Affected before 2.5.0 Fixed in 2.5.0 Patch available CNA
- clearance (RubyGems) Vendor— Affected before 2.5.0 Fixed in 2.5.0 Patch available GHSA-4hpq-rjcx-7vj9
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:thoughtbot:clearance:*:*:*:*:*:*:*:* | before 2.5.0 | Vulnerable | thoughtbot |
- cpe:2.3:a:thoughtbot:clearance:*:*:*:*:*:*:*:* Versions before 2.5.0 Vulnerable ·thoughtbot
Remediation
- Fix · CNA clearance Fixed in 2.5.0
- Fix · GHSA-4hpq-rjcx-7vj9 clearance (RubyGems) Fixed in 2.5.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-23435
- 2026-10-03 Alias added: GHSA-4hpq-rjcx-7vj9
References
Sources
- CVE-2021-23435 · CVE Program
- CVE-2021-23435 · NVD
- FIRST EPSS
- GHSA-4hpq-rjcx-7vj9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences