thoughtbot/clearance · Security
Clearance Gem Open Redirect Vulnerability
- GHSA ID
- GHSA-4hpq-rjcx-7vj9
- CVE ID
- CVE-2021-23435
- Severity
- high
- Published
- Updated
- CVSS
- 7.6 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
- CVSS v3
- 7.6 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
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).
CWEs
- CWE-601 · URL Redirection to Untrusted Site ('Open Redirect')