In the URI gem before 1.0.3 for Ruby, the URI handling methods (URI.join, URI#merge, URI#+) have an inadvertent leakage of authentication credentials because userinfo is retained even after changing the host.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 4
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Ruby-Lang Uri
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
|
— |
0.11.3
|
|
Ruby-Lang Uri
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
|
0.12.0
|
0.12.4
|
|
Ruby-Lang Uri
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
|
0.13.0
|
0.13.2
|
|
Ruby-Lang Uri
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
|
1.0.0
|
1.0.3
|