File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ layout : advisory
3+ title : ' CVE-2025-61594 (uri): CVE-2025-61594 - URI Credential Leakage Bypass over
4+ CVE-2025-27221'
5+ comments : false
6+ categories :
7+ - uri
8+ advisory :
9+ gem : uri
10+ cve : 2025-61594
11+ url : https://www.ruby-lang.org/en/news/2025/10/07/uri-cve-2025-61594
12+ title : CVE-2025-61594 - URI Credential Leakage Bypass over CVE-2025-27221
13+ date : 2025-10-07
14+ description : |2
15+
16+ In affected URI version, a bypass exists for the fix to CVE-2025-27221
17+ that can expose user credentials.
18+
19+ This vulnerability has been assigned the CVE identifier CVE-2025-61594.
20+ We recommend upgrading the uri gem.
21+
22+ ## Details
23+
24+ When using the + operator to combine URIs, sensitive information
25+ like passwords from the original URI can be leaked, violating
26+ RFC3986 and making applications vulnerable to credential exposure.
27+
28+ Please update URI gem to version 0.12.5, 0.13.3, 1.0.4 or later.
29+
30+ ## Affected versions
31+
32+ uri gem versions < 0.12.5, 0.13.0 to 0.13.2 and 1.0.0 to 1.0.3.
33+
34+ ## Credits
35+
36+ Thanks to junfuchong (chongfujun) for discovering this issue.
37+ Also thanks to nobu for additional fixes of this vulnerability.
38+ patched_versions :
39+ - " ~> 0.12.5"
40+ - " ~> 0.13.3"
41+ - " >= 1.0.4"
42+ related :
43+ url :
44+ - https://www.ruby-lang.org/en/news/2025/10/07/uri-cve-2025-61594
45+ - https://rubygems.org/gems/uri/versions/1.0.4
46+ - https://rubygems.org/gems/uri/versions/0.13.3
47+ - https://rubygems.org/gems/uri/versions/0.12.5
48+ - https://github.com/ruby/uri
49+ ---
You can’t perform that action at this time.
0 commit comments