ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2025-61594

Details

URI is a module providing classes to handle Uniform Resource Identifiers. In versions 0.12.4 and earlier (bundled in Ruby 3.2 series) 0.13.2 and earlier (bundled in Ruby 3.3 series), 1.0.3 and earlier (bundled in Ruby 3.4 series), when using the + operator to combine URIs, sensitive information like passwords from the original URI can be leaked, violating RFC3986 and making applications vulnerable to credential exposure. This is a a bypass for the fix to CVE-2025-27221 that can expose user credentials. This issue has been fixed in versions 0.12.5, 0.13.3 and 1.0.4.

Affected packages

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

References