ADVISORIES

Debian Security Tracker

DEBIAN-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
Debian:12ruby3.1
All versions, no fix listed
Debian:13ruby3.3
All versions before 3.3.7-2 (fixed in 3.3.7-2)
Debian:14ruby3.3
All versions before 3.3.7-2 (fixed in 3.3.7-2)
Debian:12rubygems
All versions before 3.3.15-2+deb12u1 (fixed in 3.3.15-2+deb12u1)
Debian:13rubygems
All versions before 3.6.6-1 (fixed in 3.6.6-1)
Debian:14rubygems
All versions before 3.6.6-1 (fixed in 3.6.6-1)

References