URI Gem up to 0.12.4/0.13.2/1.0.3 on Ruby Uniform Resource Identifier improper removal of sensitive information before storage or transfer
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in URI Gem up to 0.12.4/0.13.2/1.0.3 on Ruby. It has been classified as problematic. This affects an unknown part of the component Uniform Resource Identifier Handler. Performing a manipulation results in improper removal of sensitive information before storage or transfer. This vulnerability is cataloged as CVE-2025-61594. It is possible to initiate the attack remotely. There is no exploit available. Upgrading the affected component is recommended.
Details
A vulnerability was found in URI Gem up to 0.12.4/0.13.2/1.0.3 on Ruby. It has been classified as problematic. This affects an unknown code block of the component Uniform Resource Identifier Handler. The manipulation with an unknown input leads to a improper removal of sensitive information before storage or transfer vulnerability. CWE is classifying the issue as CWE-212. The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors. This is going to have an impact on confidentiality. The summary by CVE is:
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.
It is possible to read the advisory at ruby-lang.org. This vulnerability is uniquely identified as CVE-2025-61594 since 09/26/2025. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1592 according to MITRE ATT&CK.
The vulnerability scanner Nessus provides a plugin with the ID 281491 (Linux Distros Unpatched Vulnerability : CVE-2025-61594), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 0.12.5, 0.13.3 or 1.0.4 eliminates this vulnerability. Applying the patch 20157e3e29b125ff41f1d9662e2e3b1d066f5902 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (281491). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Improper removal of sensitive information before storage or transferCWE: CWE-212 / CWE-200 / CWE-284
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 281491
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-61594
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: URI Gem 0.12.5/0.13.3/1.0.4
Patch: 20157e3e29b125ff41f1d9662e2e3b1d066f5902
Timeline
09/26/2025 CVE reserved12/31/2025 Advisory disclosed
12/31/2025 VulDB entry created
02/26/2026 VulDB entry last update
Sources
Advisory: ruby-lang.orgStatus: Confirmed
CVE: CVE-2025-61594 (🔒)
GCVE (CVE): GCVE-0-2025-61594
GCVE (VulDB): GCVE-100-339099
Entry
Created: 12/31/2025 03:50Updated: 02/26/2026 11:28
Changes: 12/31/2025 03:50 (70), 12/31/2025 13:38 (1), 01/01/2026 03:37 (2), 02/26/2026 11:28 (11)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.