ManageIQ / ManageIQ/kubeclient
CVE-2026-42257 (Medium) detected in net-imap-0.5.12.gem
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 426
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
CVE-2026-42257 - 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)
- mail-2.8.1.gem
- validate_email-0.1.6.gem
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, several Net::IMAP commands accept a raw string argument that is sent to the server without validation or escaping. If this string is derived from user-controlled input, it may contain contain CRLF sequences, which an attacker can use to inject arbitrary 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-42257
CVSS 3 Score Details (6.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: High
- Availability Impact: Low
Suggested Fix
Type: Upgrade version
Origin: https://github.com/ruby/net-imap/security/advisories/GHSA-hm49-wcqc-g2xg
Release Date: 2026-05-05
Fix Resolution: https://github.com/ruby/net-imap.git - v0.5.14,net-imap - 0.4.24,net-imap - 0.5.14,https://github.com/ruby/net-imap.git - v0.6.4,https://github.com/ruby/net-imap.git - v0.4.24,net-imap - 0.6.4
Step up your Open Source Security Game with Mend here
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting Gemfile.lock and vendor/cache/net-imap-0.5.12.gem, following the dependency path from mail-2.8.1. Update the dependency to a fixed net-imap release, then confirm the lockfile and cached dependency no longer contain 0.5.12.
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
- 70/100