3.2Low
CVE-2025-27221
Description
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.
Weakness (CWE):
CWE-212
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
CPE matches (NVD) (4)
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*< 0.11.3cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*≥ 0.12.0 < 0.12.4cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*≥ 0.13.0 < 0.13.2cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*≥ 1.0.0 < 1.0.3