ManageIQ / ManageIQ/foreman_api_client

CVE-2025-61594 (Medium) detected in uri-1.0.3.gem

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Mend: dependency security vulnerability
Dominant language
Ruby
Stars
2
Forks
12
PR merge metrics
No merged PRs in 30d

Description

## CVE-2025-61594 - Medium Severity Vulnerability
Vulnerable Library - uri-1.0.3.gem

URI is a module providing classes to handle Uniform Resource Identifiers


Library home page: https://rubygems.org/gems/uri-1.0.3.gem


Path to dependency file: /Gemfile.lock


Path to vulnerable library: /vendor/cache/uri-1.0.3.gem


Dependency Hierarchy:
- manageiq-style-1.5.8.gem (Root Library)
- rubocop-rails-2.29.1.gem
- activesupport-8.0.3.gem
- :x: **uri-1.0.3.gem** (Vulnerable Library)

Found in base branch: master



Vulnerability Details



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.

Publish Date: 2025-12-30

URL: CVE-2025-61594



CVSS 3 Score Details (4.3)

Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Changed
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: None
- Availability Impact: None


For more information on CVSS3 Scores, click here.


Suggested Fix

Type: Upgrade version


Release Date: 2025-12-30


Fix Resolution: https://github.com/ruby/uri.git - v0.12.5,https://github.com/ruby/uri.git - v1.0.4,https://github.com/ruby/uri.git - v0.13.3

***
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting /Gemfile.lock and /vendor/cache/uri-1.0.3.gem, where the vulnerable transitive dependency is recorded. Update the resolved uri dependency to a fixed version listed in the report, then confirm that neither the lockfile nor the cached dependency retains uri-1.0.3.gem.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.