CVE-2026-42245 (Medium) detected in net-imap-0.5.12.gem
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
Start with Gemfile.lock and the cached gem at vendor/cache/net-imap-0.5.12.gem, then trace the dependency through mail and validate_email. Upgrade net-imap to the fixed 0.5.14 release and update the dependency metadata so the vulnerable 0.5.12 version is no longer present. Done means the lockfile and vendor cache resolve to a patched version.
Written by the indexing model from the issue text.
Description
CVE-2026-42245 - 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, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. A hostile server can send responses which are crafted to exhaust the client's CPU for a denial of service attack. 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-42245
CVSS 3 Score Details (4.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: Low
Suggested Fix
Type: Upgrade version
Origin: https://github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcw
Release Date: 2026-05-05
Fix Resolution: net-imap - 0.5.14,https://github.com/ruby/net-imap.git - v0.4.24,https://github.com/ruby/net-imap.git - v0.5.14,https://github.com/ruby/net-imap.git - v0.6.4,net-imap - 0.6.4,net-imap - 0.4.24
Step up your Open Source Security Game with Mend here
- Dominant language
- Ruby
- Stars
- 426
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
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.
More from ManageIQ/kubeclient
-
Mend: dependency security vulnerability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ManageIQ/kubeclient#723 ·
-
Mend: dependency security vulnerability
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ManageIQ/kubeclient#722 ·
-
Mend: dependency security vulnerability
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ManageIQ/kubeclient#721 ·
-
Mend: dependency security vulnerability
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ManageIQ/kubeclient#720 ·
-
Mend: dependency security vulnerability
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ManageIQ/kubeclient#719 ·
All issues in ManageIQ/kubeclient
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
notch8/utk_knapsack#148 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Homebrew/homebrew-cask#288729 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100