Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-42258: 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, symbol arguments to commands are vulnerable to a CRLF Injection / IMAP Command injection via Symbol arguments passed to IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4. CVE-2026-42257: 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. CVE-2026-42256: Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. From versions 0.4.0 to before 0.4.24, 0.5.0 to before 0.5.14, and 0.6.0 to before 0.6.4, when authenticating a connection with SCRAM-SHA1 or SCRAM-SHA256, a hostile server can perform a computational denial-of-service attack on the client process by sending a big iteration count value. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4. CVE-2026-42246: Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4, a man-in-the-middle attacker can cause Net::IMAP#starttls to return "successfully", without starting TLS. This issue has been patched in versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4. CVE-2026-42245: 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, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. A hostile server can send responses which are crafted to exhaust the client's CPU for a denial of service attack. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4. CVE-2026-27820: zlib is a Ruby interface for the zlib compression/decompression library. Versions 3.0.0 and below, 3.1.0, 3.1.1, 3.2.0 and 3.2.1 contain a buffer overflow vulnerability in the Zlib::GzipReader. The zstream_buffer_ungets function prepends caller-provided bytes ahead of previously produced output but fails to guarantee the backing Ruby string has enough capacity before the memmove shifts the existing data. This can lead to memory corruption when the buffer length exceeds capacity. This issue has been fixed in versions 3.0.1, 3.1.2 and 3.2.3.
Fixed packages 34
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | ruby3.4 | 0:3.4.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-bundled-gems | 0:3.4.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-bundled-gems-debuginfo | 0:3.4.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-debuginfo | 0:3.4.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-debugsource | 0:3.4.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-default-gems | 0:3.4.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-devel | 0:3.4.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-doc | 0:3.4.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-libs | 0:3.4.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-libs-debuginfo | 0:3.4.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-bigdecimal | 0:3.1.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-bigdecimal-debuginfo | 0:3.1.8-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-bundler | 0:2.6.9-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-io-console | 0:0.8.1-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-io-console-debuginfo | 0:0.8.1-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-irb | 0:1.14.3-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-json | 0:2.9.1-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-json-debuginfo | 0:2.9.1-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-minitest | 0:5.25.4-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-power_assert | 0:2.0.5-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-psych | 0:5.2.2-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-psych-debuginfo | 0:5.2.2-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-racc | 0:1.8.1-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-racc-debuginfo | 0:1.8.1-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-rake | 0:13.2.1-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-rbs | 0:3.8.0-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-rbs-debuginfo | 0:3.8.0-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-rdoc | 0:6.14.0-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-rexml | 0:3.4.4-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-rss | 0:0.3.1-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-test-unit | 0:3.6.7-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygem-typeprof | 0:0.30.1-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygems | 0:3.6.9-27.amzn2023.0.6 |
| Amazon Linux · 2023 | ruby3.4-rubygems-devel | 0:3.6.9-27.amzn2023.0.6 |
Vulnerabilities 6
-
High 7.6
net-imap vulnerable to STARTTLS stripping via invalid response timing
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4, a man-in-the-middle attacker can cause Net::IMAP#starttls to return "successfully", without starting TLS. This issu…
-
Medium 6.0
net-imap: Denial of service via high iteration count for `SCRAM-*` authentication
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. From versions 0.4.0 to before 0.4.24, 0.5.0 to before 0.5.14, and 0.6.0 to before 0.6.4, when authenticating a connection with SCRAM-SHA1 or SCRAM-SHA256, a hostile ser…
-
Medium 5.8
net-imap: Command Injection via "raw" arguments to multiple commands
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 …
-
Medium 5.8
net-imap: Command Injection via unvalidated Symbol inputs
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, symbol arguments to commands are vulnerable to a CRLF Injection / IMAP Command injection via Symbol arguments passed to IMA…
-
Low 2.3
net-imap: Quadratic complexity when reading response literals
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, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. A hos…
-
Low 1.7
zlib: Buffer Overflow in Zlib::GzipReader ungetc via large input leads to memory corruption
zlib is a Ruby interface for the zlib compression/decompression library. Versions 3.0.0 and below, 3.1.0, 3.1.1, 3.2.0 and 3.2.1 contain a buffer overflow vulnerability in the Zlib::GzipReader. The zstream_buffer_ungets function prepends caller-provided bytes…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2026-27820.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2026-42245.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2026-42246.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2026-42256.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2026-42257.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2026-42258.html