Alpine: ruby: security update to 2.4.6-r0

high Tenable Self-Hosted Container Security Plugin ID 406975

Description

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

- A Directory Traversal issue was discovered in RubyGems 2.7.6 and later through 3.0.2. Before making new
directories or touching files (which now include path-checking code for symlinks), it would delete the
target destination. If that destination was hidden behind a symlink, a malicious gem could delete
arbitrary files on the user's machine, presuming the attacker could guess at paths. Given how frequently
gem is run as sudo, and how predictable paths are on modern systems (/tmp, /usr, etc.), this could likely
lead to data loss or an unusable system. (CVE-2019-8320)

- An issue was discovered in RubyGems 2.6 and later through 3.0.2. Since Gem::UserInteraction#verbose calls
say without escaping, escape sequence injection is possible. (CVE-2019-8321)

- An issue was discovered in RubyGems 2.6 and later through 3.0.2. The gem owner command outputs the
contents of the API response directly to stdout. Therefore, if the response is crafted, escape sequence
injection may occur. (CVE-2019-8322)

- An issue was discovered in RubyGems 2.6 and later through 3.0.2. Gem::GemcutterUtilities#with_response may
output the API response to stdout as it is. Therefore, if the API side modifies the response, escape
sequence injection may occur. (CVE-2019-8323)

See Also

https://security.alpinelinux.org/vuln/CVE-2019-8320

https://security.alpinelinux.org/vuln/CVE-2019-8321

https://security.alpinelinux.org/vuln/CVE-2019-8322

https://security.alpinelinux.org/vuln/CVE-2019-8323

https://security.alpinelinux.org/vuln/CVE-2019-8324

https://security.alpinelinux.org/vuln/CVE-2019-8325

Plugin Details

Severity: High

ID: 406975

Version: Revision 1.27

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

Percentile: 57.12

CVSS v2

Risk Factor: High

Base Score: 8.8

Temporal Score: 6.9

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

CVSS Score Source: CVE-2019-8320

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

CVSS Score Source: CVE-2019-8324

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 4/11/2019

Reference Information

CVE: CVE-2019-8320, CVE-2019-8321, CVE-2019-8322, CVE-2019-8323, CVE-2019-8324, CVE-2019-8325

BID: 108682