Back to Database
Status published
Low
CVE-2025-27221
In the URI gem before 1.0.3 for Ruby, the URI...
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-27221
Credits & Attribution
No credits recorded in the NVD database.
References
More from ruby-lang
View All →CVE-2025-27220
In the CGI gem before 0.4.2 for Ruby, a Regular...
Medium
4
CVE-2025-27219
In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse...
Medium
5.8
CVE-2022-28739
There is a buffer over-read in Ruby before 2.6.10, 2.7.x...
High
7.5
CVE-2022-28738
A double free was found in the Regexp compiler in...
Critical
9.8
CVE-2021-41819
CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie...
Unknown
0
Affected Vendor
ruby-lang
View all reports →Affected Software
URI
Vulnerable Versions:
0, 0.12.0, 0.13.0, 1.0.0
Timeline
Official Publish:
March 3rd, 2025
Last Modified:
November 3rd, 2025
Added to House:
July 22nd, 2026
CVSS Vectors
V3:
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
Weaknesses (CWE)
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.