CVE-2025-27221
March 03, 2025
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
uri (RUBY):
Affected version(s) >=0.13.0 <0.13.2Fix Suggestion:
Update to version 0.13.2uri (RUBY):
Affected version(s) >=0.12.0 <0.12.4Fix Suggestion:
Update to version 0.12.4uri (RUBY):
Affected version(s) >=0.13.0 <0.13.2Fix Suggestion:
Update to version 0.13.2uri (RUBY):
Affected version(s) >=0.10.0 <0.11.3Fix Suggestion:
Update to version 0.11.3uri (RUBY):
Affected version(s) >=1.0.0 <1.0.3Fix Suggestion:
Update to version 1.0.3uri (RUBY):
Affected version(s) >=0.12.0 <0.12.4Fix Suggestion:
Update to version 0.12.4Related Resources (13)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.1
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.2
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.04