[From nobody Sun Nov 29 00:09:53 2026
Received: (at submit) by bugs.debian.org; 2 Jul 2026 21:18:47 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.9 required=4.0 tests=BAYES_00,FOURLA,
 FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_PASS autolearn=no
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 42; hammy, 150; neutral, 120; spammy,
 0. spammytokens:
 hammytokens:0.000-+--UD:security-tracker.debian.org, 
 0.000-+--securitytrackerdebianorg,
 0.000-+--security-tracker.debian.org, 0.000-+--H*r:jmm,
 0.000-+--sk:teamse
Return-path: &lt;jmm@inutil.org&gt;
Received: from inutil.org ([51.38.114.215]:58592 helo=vps-b7ad3695.vps.ovh.net)
 by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;jmm@inutil.org&gt;) id 1wfOo1-00Fa4w-2Z
 for submit@bugs.debian.org; Thu, 02 Jul 2026 21:18:47 +0000
Received: from soju.fritz.box (p5089a272.dip0.t-ipconnect.de [80.137.162.114])
 by vps-b7ad3695.vps.ovh.net (Postfix) with ESMTPSA id C2DB2127
 for &lt;submit@bugs.debian.org&gt;; Thu,  2 Jul 2026 21:18:44 +0000 (UTC)
Received: from jmm by soju.fritz.box with local (Exim 4.99.4)
 (envelope-from &lt;jmm@soju.westfalen.local&gt;) id 1wfOnt-000000003zU-05V1
 for submit@bugs.debian.org; Thu, 02 Jul 2026 23:18:37 +0200
Date: Thu, 2 Jul 2026 23:18:36 +0200
To: submit@bugs.debian.org
Subject: ruby3.3: CVE-2026-47240 CVE-2026-47241 CVE-2026-47242
Message-ID: &lt;akbVrM0bzBCjrYll@pisco.westfalen.local&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
From: =?UTF-8?Q?Moritz_M=C3=BChlenhoff?= &lt;jmm@inutil.org&gt;
Delivered-To: submit@bugs.debian.org

Source: ruby3.3
X-Debbugs-CC: team@security.debian.org
Severity: grave
Tags: security

Hi,

The following vulnerabilities were published for ruby3.3.

CVE-2026-47240[0]:
| Net::IMAP implements Internet Message Access Protocol (IMAP) client
| functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP
| commands accept a &quot;raw data&quot; argument that is sent verbatim after
| validation to prevent command injection. However, if a server does
| not support non-synchronizing literals, it may still be possible to
| inject arbitrary IMAP commands inside non-synchronizing literals.  A
| server without support for non-synchronizing literals may interpret
| the &quot;+}\r\n&quot; as the end of a malformed command line and respond with
| a tagged BAD. In that case, the contents of the literal will be
| interpreted as one or more new pipelined commands, allowing a CRLF
| command injection attack to succeed. This affects criteria for
| #search and #uid_search; search_keys for #sort, #thread, #uid_sort,
| and #uid_thread; and attr for #fetch and #uid_fetch. This
| vulnerability is fixed in 0.6.5 and 0.5.15.

https://github.com/ruby/net-imap/security/advisories/GHSA-8p34-64r3-mwg8

CVE-2026-47241[1]:
| Net::IMAP implements Internet Message Access Protocol (IMAP) client
| functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP
| commands accept a raw string argument which is only validated to
| prevent CRLF injection and then sent verbatim. If this string is
| derived from user-controlled input, an attacker can force the next
| command to be absorbed as a continuation of the first command. This
| will cause the first command to eventually fail, but also prevents
| it from returning until another command is sent (from another
| thread). That other command will not return until the connection is
| closed. This vulnerability is fixed in 0.6.5 and 0.5.15.

https://github.com/ruby/net-imap/security/advisories/GHSA-c4fp-cxrr-mj66

CVE-2026-47242[2]:
| 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.

https://github.com/ruby/net-imap/security/advisories/GHSA-46q3-7gv7-qmgg


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities &amp; Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-47240
    https://www.cve.org/CVERecord?id=CVE-2026-47240
[1] https://security-tracker.debian.org/tracker/CVE-2026-47241
    https://www.cve.org/CVERecord?id=CVE-2026-47241
[2] https://security-tracker.debian.org/tracker/CVE-2026-47242
    https://www.cve.org/CVERecord?id=CVE-2026-47242

Please adjust the affected versions in the BTS as needed.
]