Information Exposure Affecting ruby package, versions <3.4.7-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.01% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE323-RUBY-14180111
  • published4 Dec 2025
  • disclosed30 Dec 2025

Introduced: 4 Dec 2025

CVE-2025-61594  (opens in a new tab)
CWE-200  (opens in a new tab)
CWE-212  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 ruby to version 3.4.7-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby package and not the ruby package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1