Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-42257

Опубликовано: 09 мая 2026
Источник: redhat
CVSS3: 6.1
EPSS Низкий

Описание

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, several Net::IMAP commands accept a raw string argument that is sent to the server without validation or escaping. If this string is derived from user-controlled input, it may contain contain CRLF sequences, which an attacker can use to inject arbitrary IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

A flaw was found in Net::IMAP (before 0.4.24, 0.5.14, and 0.6.4). Several commands accept raw string arguments sent to the server without validation or escaping; if derived from user-controlled input, CRLF sequences allow injection of arbitrary IMAP commands.

Отчет

Net::IMAP is vulnerable to IMAP command injection in versions before 0.4.24, 0.5.14, and 0.6.4. Several client commands accept raw string arguments that are sent to the IMAP server without CRLF validation or escaping; if application code passes user-controlled data into those arguments, an attacker can inject additional IMAP commands by embedding carriage return and line feed sequences. Red Hat impact is concentrated in Ruby-based products that bundle a vulnerable net-imap gem, including RHEL Ruby module streams, OpenShift Serverless (hummingbird) Ruby runtimes, and 3scale AMP components (zync/system) that use Net::IMAP with externally influenced input; Perl IMAP client packages on Fedora are a separate codebase and are not affected.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat 3scale API Management Platform 23scale-amp21/systemFix deferred
Red Hat 3scale API Management Platform 23scale-amp21/zyncFix deferred
Red Hat 3scale API Management Platform 23scale-amp22/systemFix deferred
Red Hat 3scale API Management Platform 23scale-amp22/zyncOut of support scope
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel7Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel8Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel9Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel8Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel9Out of support scope
Red Hat Enterprise Linux 10ruby4.0FixedRHSA-2026:5077305.08.2026

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-93
https://bugzilla.redhat.com/show_bug.cgi?id=2468494net-imap: Net::IMAP: Arbitrary IMAP command injection via CRLF sequences in unvalidated input

EPSS

Процентиль: 38%
0.00429
Низкий

6.1 Medium

CVSS3

Связанные уязвимости

CVSS3: 9.8
ubuntu
6 месяцев назад

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, several Net::IMAP commands accept a raw string argument that is sent to the server without validation or escaping. If this string is derived from user-controlled input, it may contain contain CRLF sequences, which an attacker can use to inject arbitrary IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

CVSS3: 9.8
nvd
6 месяцев назад

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, several Net::IMAP commands accept a raw string argument that is sent to the server without validation or escaping. If this string is derived from user-controlled input, it may contain contain CRLF sequences, which an attacker can use to inject arbitrary IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

msrc
6 месяцев назад

net-imap: Command Injection via "raw" arguments to multiple commands

CVSS3: 9.8
debian
6 месяцев назад

Net::IMAP implements Internet Message Access Protocol (IMAP) client fu ...

CVSS3: 6.8
redos
2 месяца назад

Уязвимость ruby

EPSS

Процентиль: 38%
0.00429
Низкий

6.1 Medium

CVSS3