Vulnerability
CVE-2025-27221
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.
136 advisories report this vulnerability, across 14 ecosystems.
Advisories in Ubuntu
-
UBUNTU-CVE-2025-27221
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.
-
USN-7418-1
ruby2.7, ruby3.0, ruby3.2, ruby3.3 vulnerabilities
-
USN-7442-1
ruby2.3, ruby2.5 vulnerabilities