CVE-2026-47242 - Medium Severity Vulnerability
Vulnerable Library - net-imap-0.6.3.gem
Ruby client api for Internet Message Access Protocol
Library home page: https://rubygems.org/gems/net-imap-0.6.3.gem
Path to dependency file: /Gemfile.lock
Path to vulnerable library: /tmp/containerbase/cache/.ruby/cache/net-imap-0.6.3.gem
Dependency Hierarchy:
- gettext_i18n_rails_js-1.3.1.gem (Root Library)
- rails-8.0.4.gem
- actionmailer-8.0.4.gem
- mail-2.9.0.gem
- ❌ net-imap-0.6.3.gem (Vulnerable Library)
Found in base branch: master
Vulnerability Details
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, when Net::IMAP#id is called with a hash argument, although the ID field value strings are correctly quoted (escaping quoted specials), they were not validated to prohibit CRLF sequences. While Net::IMAP#enable does process its arguments for aliases, it does not validate them as valid atoms (or as a list of valid atoms). The #to_s value is sent verbatim. Arguments to either command could be used by an attacker to inject arbitrary IMAP commands. This vulnerability is fixed in 0.6.5 and 0.5.15.
Publish Date: 2026-06-22
URL: CVE-2026-47242
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
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Release Date: 2026-06-11
Fix Resolution: https://github.com/ruby/net-imap.git - 0.5.15,net-imap - 0.6.4.1,net-imap - 0.5.15
Step up your Open Source Security Game with Mend here
CVE-2026-47242 - Medium Severity Vulnerability
Ruby client api for Internet Message Access Protocol
Library home page: https://rubygems.org/gems/net-imap-0.6.3.gem
Path to dependency file: /Gemfile.lock
Path to vulnerable library: /tmp/containerbase/cache/.ruby/cache/net-imap-0.6.3.gem
Dependency Hierarchy:
Found in base branch: master
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, when Net::IMAP#id is called with a hash argument, although the ID field value strings are correctly quoted (escaping quoted specials), they were not validated to prohibit CRLF sequences. While Net::IMAP#enable does process its arguments for aliases, it does not validate them as valid atoms (or as a list of valid atoms). The #to_s value is sent verbatim. Arguments to either command could be used by an attacker to inject arbitrary IMAP commands. This vulnerability is fixed in 0.6.5 and 0.5.15.
Publish Date: 2026-06-22
URL: CVE-2026-47242
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
For more information on CVSS3 Scores, click here.Type: Upgrade version
Release Date: 2026-06-11
Fix Resolution: https://github.com/ruby/net-imap.git - 0.5.15,net-imap - 0.6.4.1,net-imap - 0.5.15
Step up your Open Source Security Game with Mend here