Alpine: ruby: security update to 3.0.4-r0

critical Tenable Cloud Security Plugin ID 406997

Description

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

- A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a
victim attempts to create a Regexp from untrusted user input, an attacker may be able to write to
unexpected memory locations. (CVE-2022-28738)

- There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before
3.1.2. It occurs in String-to-Float conversion, including Kernel#Float and String#to_f. (CVE-2022-28739)

See Also

https://security.alpinelinux.org/vuln/CVE-2022-28738

https://security.alpinelinux.org/vuln/CVE-2022-28739

Plugin Details

Severity: Critical

ID: 406997

Version: Revision 1.35

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.19

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-2022-28738

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 4/13/2022

Reference Information

CVE: CVE-2022-28738, CVE-2022-28739