Lucene search

K
rubygemsRubySecRUBY:CLEARANCE-2021-23435
HistorySep 12, 2021 - 9:00 p.m.

Open Redirect in clearance

2021-09-1221:00:00
RubySec
github.com
9
open redirect
clearance package
vulnerability
session value
external domain

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS3

7.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H

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 configurations

Vulners
Node
rubyclearanceRange2.5.0
VendorProductVersionCPE
rubyclearance*cpe:2.3:a:ruby:clearance:*:*:*:*:*:*:*:*

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS3

7.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H