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.
{
"binaries": [
{
"binary_version": "2.3.1-2~ubuntu16.04.16+esm10",
"binary_name": "libruby2.3"
},
{
"binary_version": "2.3.1-2~ubuntu16.04.16+esm10",
"binary_name": "ruby2.3"
},
{
"binary_version": "2.3.1-2~ubuntu16.04.16+esm10",
"binary_name": "ruby2.3-tcltk"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}