Description
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.
Published: 2025-03-03
Score: 3.2 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4082-1 ruby2.7 security update
Debian DLA Debian DLA DLA-4163-1 rubygems security update
EUVD EUVD EUVD-2025-5508 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.
Github GHSA Github GHSA GHSA-22h5-pq3x-2gf2 URI allows for userinfo Leakage in URI#join, URI#merge, and URI#+
Ubuntu USN Ubuntu USN USN-7418-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-7442-1 Ruby vulnerabilities
History

Mon, 03 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Mon, 03 Nov 2025 20:30:00 +0000

Type Values Removed Values Added
References

Fri, 01 Aug 2025 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Ruby-lang
Ruby-lang uri
CPEs cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
Vendors & Products Ruby-lang
Ruby-lang uri

Mon, 26 May 2025 15:15:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.0

Tue, 06 May 2025 15:15:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9

Wed, 23 Apr 2025 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
Vendors & Products Redhat
Redhat enterprise Linux

Tue, 04 Mar 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 04 Mar 2025 14:00:00 +0000

Type Values Removed Values Added
Title uri: userinfo leakage in URI#join, URI#merge and URI#+
References
Metrics threat_severity

None

threat_severity

Low


Tue, 04 Mar 2025 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-212
Metrics cvssV3_1

{'score': 3.2, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N'}


Tue, 04 Mar 2025 00:00:00 +0000

Type Values Removed Values Added
Description 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.
References

Subscriptions

Redhat Enterprise Linux
Ruby-lang Uri
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-11-03T21:13:26.685Z

Reserved: 2025-02-20T00:00:00.000Z

Link: CVE-2025-27221

cve-icon Vulnrichment

Updated: 2025-11-03T21:13:26.685Z

cve-icon NVD

Status : Modified

Published: 2025-03-04T00:15:31.847

Modified: 2025-11-03T22:18:43.737

Link: CVE-2025-27221

cve-icon Redhat

Severity : Low

Publid Date: 2025-03-03T00:00:00Z

Links: CVE-2025-27221 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses