cve.bz

CVE-2025-27221

5.3 mediumEPSS 0.5%

Medium (5.3) in ruby-lang uri. EPSS 0.5% chance of exploitation in the next 30 days. Fixed in uri 0.11.3, 0.12.4, 0.13.2.

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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.5% chance of exploitation in the next 30 days; higher than 43% of CVEs (scores of 2026-10-31)
CWE
CWE-212
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-22h5-pq3x-2gf2RubyGemsuri<0.11.30.11.3
GHSA-22h5-pq3x-2gf2RubyGemsuri>=0.12.0 <0.12.40.12.4
GHSA-22h5-pq3x-2gf2RubyGemsuri>=0.13.0 <0.13.20.13.2
GHSA-22h5-pq3x-2gf2RubyGemsuri>=1.0.0 <1.0.31.0.3

References

Check your stackJSON