ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2025-27221

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSjruby
All versions, no fix listed
Ubuntu:Pro:16.04:LTSruby2.3
All versions before 2.3.1-2~ubuntu16.04.16+esm10 (fixed in 2.3.1-2~ubuntu16.04.16+esm10)
Ubuntu:16.04:LTSjruby
All versions, no fix listed
Ubuntu:Pro:18.04:LTSruby2.5
All versions before 2.5.1-1ubuntu1.16+esm4 (fixed in 2.5.1-1ubuntu1.16+esm4)
Ubuntu:18.04:LTSjruby
All versions, no fix listed
Ubuntu:20.04:LTSruby2.7
All versions before 2.7.0-5ubuntu1.18 (fixed in 2.7.0-5ubuntu1.18)
Ubuntu:20.04:LTSjruby
All versions, no fix listed
Ubuntu:22.04:LTSruby3.0
All versions before 3.0.2-7ubuntu2.10 (fixed in 3.0.2-7ubuntu2.10)
Ubuntu:24.04:LTSjruby
All versions, no fix listed
Ubuntu:24.04:LTSruby3.2
All versions before 3.2.3-1ubuntu0.24.04.5 (fixed in 3.2.3-1ubuntu0.24.04.5)
Ubuntu:25.10jruby
All versions, no fix listed
Ubuntu:25.10ruby3.3
All versions before 3.3.7-1ubuntu2 (fixed in 3.3.7-1ubuntu2)
Ubuntu:26.10jruby
All versions, no fix listed
Ubuntu:26.04:LTSjruby
All versions, no fix listed

References