SCA: security update for net-imap (GHSA-8p34-64r3-mwg8)

medium Tenable Cloud Security Plugin ID 442841

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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 data" 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 "+}\r\n" 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. (CVE-2026-47240)

Solution

Update the net-imap library and its related packages to version 0.5.15 or later.

See Also

https://github.com/advisories/GHSA-8p34-64r3-mwg8

Plugin Details

Severity: Medium

ID: 442841

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 6/9/2026

Updated: 6/26/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.4

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2026-47240

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: Medium

Base Score: 5.8

Threat Score: 5.8

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/9/2026

Vulnerability Publication Date: 6/9/2026

Reference Information

CVE: CVE-2026-47240