Amazon Linux 2023 : ruby4.0, ruby4.0-bundled-gems, ruby4.0-default-gems (ALAS2023-2026-1806)

high Nessus Plugin ID 319835

Synopsis

The remote Amazon Linux 2023 host is missing a security update.

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2026-1806 advisory.

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. 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-42258)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'dnf update ruby4.0 --releasever 2023.12.20260608' or or 'dnf update --advisory ALAS2023-2026-1806 --releasever 2023.12.20260608' to update your system.

See Also

https://alas.aws.amazon.com//AL2023/ALAS2023-2026-1806.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2026-42246.html

https://explore.alas.aws.amazon.com/CVE-2026-42258.html

Plugin Details

Severity: High

ID: 319835

File Name: al2023_ALAS2023-2026-1806.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 6/8/2026

Updated: 6/8/2026

Supported Sensors: Continuous Assessment, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

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-42258

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

CPE: p-cpe:/a:amazon:linux:ruby4.0-rubygems, p-cpe:/a:amazon:linux:ruby4.0-rubygems-devel, p-cpe:/a:amazon:linux:ruby4.0-rubygem-power_assert, p-cpe:/a:amazon:linux:ruby4.0-rubygem-json, p-cpe:/a:amazon:linux:ruby4.0-rubygem-rake, p-cpe:/a:amazon:linux:ruby4.0-rubygem-typeprof, p-cpe:/a:amazon:linux:ruby4.0-doc, p-cpe:/a:amazon:linux:ruby4.0-rubygem-rdoc, p-cpe:/a:amazon:linux:ruby4.0-rubygem-minitest, p-cpe:/a:amazon:linux:ruby4.0-debugsource, p-cpe:/a:amazon:linux:ruby4.0-bundled-gems, p-cpe:/a:amazon:linux:ruby4.0-devel, p-cpe:/a:amazon:linux:ruby4.0-rubygem-psych, p-cpe:/a:amazon:linux:ruby4.0-rubygem-rbs-debuginfo, p-cpe:/a:amazon:linux:ruby4.0-bundled-gems-debuginfo, p-cpe:/a:amazon:linux:ruby4.0-libs-debuginfo, p-cpe:/a:amazon:linux:ruby4.0-rubygem-bundler, p-cpe:/a:amazon:linux:ruby4.0-rubygem-io-console, p-cpe:/a:amazon:linux:ruby4.0-rubygem-bigdecimal, p-cpe:/a:amazon:linux:ruby4.0-debuginfo, p-cpe:/a:amazon:linux:ruby4.0-rubygem-psych-debuginfo, p-cpe:/a:amazon:linux:ruby4.0-rubygem-racc, p-cpe:/a:amazon:linux:ruby4.0-rubygem-io-console-debuginfo, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:ruby4.0-rubygem-rbs, p-cpe:/a:amazon:linux:ruby4.0-rubygem-json-debuginfo, p-cpe:/a:amazon:linux:ruby4.0, p-cpe:/a:amazon:linux:ruby4.0-rubygem-test-unit, p-cpe:/a:amazon:linux:ruby4.0-libs, p-cpe:/a:amazon:linux:ruby4.0-rubygem-bigdecimal-debuginfo, p-cpe:/a:amazon:linux:ruby4.0-rubygem-irb, p-cpe:/a:amazon:linux:ruby4.0-rubygem-rss, p-cpe:/a:amazon:linux:ruby4.0-rubygem-racc-debuginfo, p-cpe:/a:amazon:linux:ruby4.0-rubygem-rexml, p-cpe:/a:amazon:linux:ruby4.0-default-gems

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 6/8/2026

Vulnerability Publication Date: 5/4/2026

Reference Information

CVE: CVE-2026-42246, CVE-2026-42258