CVE-2025-25186
Public on 2025-02-10
Modified on 2025-02-13
Description
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.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
HAQM Linux 1 | ruby | No Fix Planned | ||
HAQM Linux 2 - Core | ruby | Not Affected | ||
HAQM Linux 1 | ruby18 | No Fix Planned | ||
HAQM Linux 1 | ruby19 | No Fix Planned | ||
HAQM Linux 1 | ruby20 | No Fix Planned | ||
HAQM Linux 1 | ruby21 | No Fix Planned | ||
HAQM Linux 1 | ruby22 | No Fix Planned | ||
HAQM Linux 1 | ruby23 | No Fix Planned | ||
HAQM Linux 1 | ruby24 | No Fix Planned | ||
HAQM Linux 2023 | ruby3.2 | 2025-04-09 | ALAS2023-2025-929 | Fixed |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
HAQM Linux | CVSSv3 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
NVD | CVSSv3 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |