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.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "0.11.3"
},
{
"introduced": "0.12.0"
},
{
"fixed": "0.12.4"
},
{
"introduced": "0.13.0"
},
{
"fixed": "0.13.2"
},
{
"introduced": "1.0.0"
},
{
"fixed": "1.0.3"
}
]
}