{"id":"CVE-2025-61594","published":"2025-12-30T21:03:08Z","modified":"2026-04-16T17:02:32Z","title":"URI Credential Leakage Bypass over CVE-2025-27221","vendor":"ruby","product":"uri","tier":"tail","description":{"text":"URI is a module providing classes to handle Uniform Resource Identifiers. In versions 0.12.4 and earlier (bundled in Ruby 3.2 series) 0.13.2 and earlier (bundled in Ruby 3.3 series), 1.0.3 and earlier (bundled in Ruby 3.4 series), 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. This is a a bypass for the fix to CVE-2025-27221 that can expose user credentials. This issue has been fixed in versions 0.12.5, 0.13.3 and 1.0.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.1,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0056,"percentile":0.47483,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-212","name":"Improper Removal of Sensitive Information Before Storage or Transfer"}],"references":[{"url":"https://github.com/ruby/uri/security/advisories/GHSA-j4pr-3wm6-xx2r","tags":["x_refsource_CONFIRM"]},{"url":"https://hackerone.com/reports/2957667","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-22h5-pq3x-2gf2","tags":["x_refsource_MISC"]},{"url":"https://www.ruby-lang.org/en/news/2025/02/26/security-advisories","tags":["x_refsource_MISC"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":9.5},{"name":"CVSS severity","points":1.47}]},"vendorSlug":"ruby","affectedVersions":[{"vendor":"ruby","product":"uri","versions":["< 0.12.5",">= 0.13.0, < 0.13.3",">= 1.0.0, < 1.0.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-30T21:29:32.513492Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"uri","vulnerableRanges":["<0.12.5",">=0.13.0, <0.13.3",">=1.0.0, <1.0.4"],"patched":["0.12.5","0.13.3","1.0.4"],"from":["GHSA-j4pr-3wm6-xx2r"],"provenance":"source"}],"summary":{"text":"The flaw is in the uri module of Ruby, a library for handling Uniform Resource Identifiers, where using the + operator to combine URIs can leak sensitive information such as passwords from the original URI. An attacker can exploit this to expose user credentials, and the attack requires local access (AV:L), low complexity, and a physical attack requirement (AT:P), with no privileges or user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:49Z"},"euvd":{"id":"EUVD-2025-205858","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-ruby-lang-uri-cve-2025-27221","parents":[{"from":"CVE-2025-27221","to":"CVE-2025-61594","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"This is a a bypass for the fix to CVE-2025-27221 that can expose user credentials.","from":"CVE.org","in":"CVE-2025-61594"},{"kind":"osv-related","provenance":"source","id":"GHSA-22h5-pq3x-2gf2","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-j4pr-3wm6-xx2r","via":"reference","url":"https://github.com/advisories/GHSA-22h5-pq3x-2gf2"},{"kind":"version-step","provenance":"source","package":"RubyGems:uri","fromFixed":"0.12.4","toFixed":"0.12.5","daysApart":302},{"kind":"version-step","provenance":"source","package":"RubyGems:uri","fromFixed":"0.13.2","toFixed":"0.13.3","daysApart":302}]}],"packageHistory":[{"cve":"CVE-2023-28755","published":"2023-03-31","fixed":"0.12.1","kev":false},{"cve":"CVE-2023-36617","published":"2023-06-29","fixed":"0.12.2","kev":false},{"cve":"CVE-2025-27221","published":"2025-03-03","fixed":"1.0.3","kev":false},{"cve":"CVE-2025-61594","published":"2025-12-30","fixed":"1.0.4","kev":false}],"package":"RubyGems:uri"}}