LOW · CVSS 3.2 Published: 2025-03-04
CVE-2025-27221 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-27221 |
|---|---|
| Base Severity / Score | LOW (3.2 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N |
| Weakness Classification | CWE-212 |
| Archive Categories | LOW Advisories · 2025 Index |
Operational Mitigation Guidance
Monitor upstream vendor advisories and address during standard dependency upgrades. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2025-27221.yml
- https://hackerone.com/reports/2957667
- https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html
Related Security Advisories
CVE-2025-27220 MEDIUM 4
CVE-2025-27222 HIGH 8.6
CVE-2025-27238 LOW 3.5
CVE-2025-27241 LOW 3.3
CVE-2025-27242 LOW 3.3
CVE-2025-27248 LOW 3.3
CVE-2025-27397 LOW 3.8
CVE-2025-27398 LOW 2.7