Echo: ruby3.1: security update to 3.1.6

medium Tenable Cloud Security Plugin ID 463384

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. Starting in
version 0.3.2 and prior to versions 0.3.8, 0.4.19, and 0.5.6, there is a possibility for denial of service
by memory exhaustion in `net-imap`'s response parser. At any time while the client is connected, a
malicious server can send can send highly compressed `uid-set` data which is automatically read by the
client's receiver thread. The response parser uses `Range#to_a` to convert the `uid-set` data into arrays
of integers, with no limitation on the expanded size of the ranges. Versions 0.3.8, 0.4.19, 0.5.6, and
higher fix this issue. Additional details for proper configuration of fixed versions and backward
compatibility are available in the GitHub Security Advisory. (CVE-2025-25186)

Solution

Update the ruby3.1 library and its related packages to version 3.1.6 or later.

See Also

https://advisory.echohq.com/cve/CVE-2025-25186

Plugin Details

Severity: Medium

ID: 463384

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.92

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2025-25186

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6

Threat Score: 2.3

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/15/2025

Vulnerability Publication Date: 2/10/2025

Reference Information

CVE: CVE-2025-25186