CVE-2025-27221
Low
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.
SeverityLow
CVSS3.2
Exploit probability—
ProductRuby-lang Uri
PublishedMar 4, 2025
First seenMar 4, 2025
Weakness typeCWE-212CWE-212
How to fix
Update
- ruby-lang uri0.11.3, 0.12.4, 0.13.2, 1.0.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ruby-lang uri | v < 0.11.3, 0.12.0 ≤ v < 0.12.4, 0.13.0 ≤ v < 0.13.2, 1.0.0 ≤ v < 1.0.3 | 0.11.3, 0.12.4, 0.13.2, 1.0.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.