Описание
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.
A flaw was found in Ruby's net-imap library. In certain versions, there is a possibility for denial of service by memory exhaustion in the net-imap
response parser. At any time while the client is connected, a malicious server can send highly compressed uid-set
data, which is automatically read by the client's receiver thread. The response parser converts the uid-set
data into arrays of integers with no limitation on the expanded size of the ranges, which can trigger memory exhaustion.
Отчет
Within regulated environments, a combination of the following controls acts as a significant barrier to successfully exploiting a net-imap vulnerability and therefore downgrades the severity of this particular CVE from Moderate to Low. The platform enforces process separation, preventing one process from over-allocating memory and affecting the stability or security of others. This mitigates the risk of denial-of-service attacks and memory-based exploits. A defense-in-depth monitoring strategy—including perimeter firewalls and endpoint protection services—detects excessive memory usage and enables automated or manual responses to prevent resource exhaustion. Additionally, memory protection mechanisms reduce the likelihood of buffer overflows, crashes, and unauthorized memory access.
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
Red Hat 3scale API Management Platform 2 | 3scale-amp-zync-container | Affected | ||
Red Hat Enterprise Linux 10 | rhel10-beta/flatpak-sdk | Affected | ||
Red Hat Enterprise Linux 6 | ruby | Out of support scope | ||
Red Hat Enterprise Linux 7 | ruby | Out of support scope | ||
Red Hat Enterprise Linux 8 | ruby:2.5/ruby | Out of support scope | ||
Red Hat Enterprise Linux 8 | ruby:3.1/ruby | Out of support scope | ||
Red Hat Enterprise Linux 8 | ruby:3.3/ruby | Out of support scope | ||
Red Hat Enterprise Linux 9 | rhel9/ruby-30 | Not affected | ||
Red Hat Enterprise Linux 9 | rhel9/ruby-31 | Not affected | ||
Red Hat Enterprise Linux 9 | rhel9/ruby-33 | Affected |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
6.5 Medium
CVSS3
Связанные уязвимости
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.
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.
Net::IMAP implements Internet Message Access Protocol (IMAP) client fu ...
EPSS
6.5 Medium
CVSS3