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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ruby-Lang | Uri | < 0.11.3 |
Related Weaknesses (CWE)
References
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2025-27221.Third Party Advisory
- https://hackerone.com/reports/2957667Permissions Required
- https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00015.html
FAQ
What is CVE-2025-27221?
CVE-2025-27221 is a vulnerability with a CVSS score of 3.2 (LOW). 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 t...
How severe is CVE-2025-27221?
CVE-2025-27221 has been rated LOW with a CVSS base score of 3.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-27221?
Check the references section above for vendor advisories and patch information. Affected products include: Ruby-Lang Uri.