Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2025-25186 (Medium) detected in net-imap-0.5.5.gem #771

Open
mend-bolt-for-github bot opened this issue Feb 13, 2025 · 0 comments
Open

CVE-2025-25186 (Medium) detected in net-imap-0.5.5.gem #771

mend-bolt-for-github bot opened this issue Feb 13, 2025 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2025-25186 - Medium Severity Vulnerability

Vulnerable Library - net-imap-0.5.5.gem

Ruby client api for Internet Message Access Protocol

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

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /Gemfile.lock

Dependency Hierarchy:

  • rails-6.1.7.10.gem (Root Library)
    • actionmailer-6.1.7.10.gem
      • mail-2.8.1.gem
        • net-imap-0.5.5.gem (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Starting in version 0.3.2 and prior to versions 0.3.8, 0.4.19, and 0.5.6, there is a possibility for denial of service by memory exhaustion in "net-imap"'s response parser. At any time while the client is connected, a malicious server can send can send highly compressed "uid-set" data which is automatically read by the client's receiver thread. The response parser uses "Range#to_a" to convert the "uid-set" data into arrays of integers, with no limitation on the expanded size of the ranges. Versions 0.3.8, 0.4.19, 0.5.6, and higher fix this issue. Additional details for proper configuration of fixed versions and backward compatibility are available in the GitHub Security Advisory.

Publish Date: 2025-02-10

URL: CVE-2025-25186

CVSS 3 Score Details (6.5)

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: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-7fc5-f82f-cx69

Release Date: 2025-02-10

Fix Resolution: net-imap - 0.3.8,0.4.19,0.5.6


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants