CVE-2025-61594Improper Removal of Sensitive Information Before Storage or Transfer in URI

Severity
2.7LOWNVD
GHSA5.3OSV5.3
EPSS
0.0%
top 99.17%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 30
Latest updateMar 31

Description

URI is a module providing classes to handle Uniform Resource Identifiers. In versions prior to 0.12.5, 0.13.3, and 1.0.4, a bypass exists for the fix to CVE-2025-27221 that can expose user credentials. When using the `+` operator to combine URIs, sensitive information like passwords from the original URI can be leaked, violating RFC3986 and making applications vulnerable to credential exposure. Versions 0.12.5, 0.13.3, and 1.0.4 fix the issue.

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected Packages10 packages

NVDruby-lang/uri0.13.00.13.3+2
RubyGemsruby-lang/uri0.13.00.13.3+2

Patches

🔴Vulnerability Details

3
OSV
CVE-2025-61594: URI is a module providing classes to handle Uniform Resource Identifiers2025-12-30
OSV
URI Credential Leakage Bypass over CVE-2025-272212025-12-30
GHSA
URI Credential Leakage Bypass over CVE-2025-272212025-12-30

📋Vendor Advisories

4
Ubuntu
Ruby vulnerability2026-03-31
Red Hat
uri: URI module: Credential exposure via URI + operator2025-12-30
Microsoft
URI Credential Leakage Bypass over CVE-2025-272212025-12-09
Debian
CVE-2025-61594: ruby2.7 - URI is a module providing classes to handle Uniform Resource Identifiers. In ver...2025

🕵️Threat Intelligence

2
Wiz
CVE-2025-61594 Impact, Exploitability, and Mitigation Steps | Wiz
Wiz
CVE-2025-10990 Impact, Exploitability, and Mitigation Steps | Wiz