Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| ruby-lang / URI | affected 0 before 0.11.3; affected 0.12.0 before 0.12.4; affected 0.13.0 before 0.13.2; affected 1.0.0 before 1.0.3 |
CWE
CWE-212
References
- https://hackerone.com/reports/2957667
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2025-27221.yml
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.