ManageIQ / ManageIQ/kubeclient

CVE-2026-42258 (Medium) detected in net-imap-0.5.12.gem

Open Beginner friendly
#706 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

CVE-2026-42258 - Medium Severity Vulnerability

Vulnerable Library - net-imap-0.5.12.gem

Ruby client api for Internet Message Access Protocol

Library home page: https://rubygems.org/gems/net-imap-0.5.12.gem

Sample Path to Dependency File: /Gemfile.lock

Path to vulnerable library: /vendor/cache/net-imap-0.5.12.gem

Dependency Hierarchy:

  • openid_connect-1.4.2.gem (Root Library)
    • validate_email-0.1.6.gem
      • mail-2.8.1.gem
        • net-imap-0.5.12.gem (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, symbol arguments to commands are vulnerable to a CRLF Injection / IMAP Command injection via Symbol arguments passed to IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

Publish Date: 2026-05-09

URL: CVE-2026-42258

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/ruby/net-imap/security/advisories/GHSA-75xq-5h9v-w6px

Release Date: 2026-05-05

Fix Resolution: net-imap - 0.4.24,https://github.com/ruby/net-imap.git - v0.4.24,https://github.com/ruby/net-imap.git - v0.6.4,net-imap - 0.6.4,net-imap - 0.5.14,https://github.com/ruby/net-imap.git - v0.5.14


Step up your Open Source Security Game with Mend here

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 with Gemfile.lock and the dependency hierarchy in the issue, then inspect vendor/cache/net-imap-0.5.12.gem. Update the dependency to a patched net-imap release such as 0.5.14, remove the vulnerable cached version, and run the repository's available test suite to confirm dependency resolution and tests pass.

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
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.