CVE-2025-27221

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*

History

03 Nov 2025, 22:18

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html -
  • () https://lists.debian.org/debian-lts-announce/2025/05/msg00015.html -

Information

Published : 2025-03-04 00:15

Updated : 2025-11-03 22:18


NVD link : CVE-2025-27221

Mitre link : CVE-2025-27221

CVE.ORG link : CVE-2025-27221


JSON object : View

Products Affected

ruby-lang

  • uri
CWE
CWE-212

Improper Removal of Sensitive Information Before Storage or Transfer