Security mailing lists by PureSourceCode

CVE-2025-61594

LOW 2.1CVSS 4.0

URI Credential Leakage Bypass over CVE-2025-27221

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.

Published
30 Dec 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-200CWE-212
Also known as
GHSA-j4pr-3wm6-xx2r
Sources
NVDJSONOSV GHSA-j4pr-3wm6-xx2rJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 LOW 2.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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/E:U
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang uri
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
< 0.12.5 0.12.5
NVD ruby-lang uri
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
>= 0.13.0, < 0.13.3 0.13.3
NVD ruby-lang uri
cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*
>= 1.0.0, < 1.0.4 1.0.4
OSV RubyGems uri < 0.12.5 0.12.5
OSV RubyGems uri >= 0.13.0, < 0.13.3 0.13.3
OSV RubyGems uri >= 1.0.0, < 1.0.4 1.0.4

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 30 Dec 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.