Chainguard: multiple ruby-3.1 packages: security update to 3.1.4-r6

critical Tenable Cloud Security Plugin ID 491852

Description

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

- A buffer-overread issue was discovered in StringIO 3.0.1, as distributed in Ruby 3.0.x through 3.0.6 and
3.1.x through 3.1.4. The ungetbyte and ungetc methods on a StringIO can read past the end of a string, and
a subsequent call to StringIO.gets may return the memory value. 3.0.3 is the main fixed version; however,
for Ruby 3.0 users, a fixed version is stringio 3.0.1.1, and for Ruby 3.1 users, a fixed version is
stringio 3.0.1.2. (CVE-2024-27280)

Solution

Update the ruby-3.1 library and its related packages to version 3.1.4-r6 or later.

Plugin Details

Severity: Critical

ID: 491852

Version: Revision 1.1

Type: Local

Published: 12/2/2026

Updated: 12/2/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.83

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-2024-27280

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

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 3/25/2024

Reference Information

CVE: CVE-2024-27280