Alpine: multiple ruby-net-imap packages: security update to 0.4.25-r0

high Tenable Cloud Security Plugin ID 477563

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- 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-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, 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-42245)

- 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-42246)

- 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-42256)

Solution

Update the ruby-net-imap library and its related packages to version 0.4.25-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-42245

https://security.alpinelinux.org/vuln/CVE-2026-42246

https://security.alpinelinux.org/vuln/CVE-2026-42256

https://security.alpinelinux.org/vuln/CVE-2026-42257

https://security.alpinelinux.org/vuln/CVE-2026-42258

https://security.alpinelinux.org/vuln/CVE-2026-47240

https://security.alpinelinux.org/vuln/CVE-2026-47241

https://security.alpinelinux.org/vuln/CVE-2026-47242

Plugin Details

Severity: High

ID: 477563

Version: Revision 1.1

Type: Local

Published: 10/27/2026

Updated: 10/27/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

Percentile: 96.43

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-42257

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 7.6

Threat Score: 4.9

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2026-42246

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 5/4/2026

Reference Information

CVE: CVE-2026-42245, CVE-2026-42246, CVE-2026-42256, CVE-2026-42257, CVE-2026-42258, CVE-2026-47240, CVE-2026-47241, CVE-2026-47242