MiracleLinux 8 : ruby:3.1 (AXSA:2024-8503:01)

critical Nessus Plugin ID 293281

Synopsis

The remote MiracleLinux host is missing one or more security updates.

Description

The remote MiracleLinux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the AXSA:2024-8503:01 advisory.

* ruby: RCE vulnerability with .rdoc_options in RDoc (CVE-2024-27281)
* ruby: Buffer overread vulnerability in StringIO (CVE-2024-27280)
* ruby: Arbitrary memory address read vulnerability with Regex search (CVE-2024-27282) CVE-2024-27280 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-27281 An issue was discovered in RDoc 6.3.3 through 6.6.2, as distributed in Ruby 3.x through 3.3.0. When parsing .rdoc_options (used for configuration in RDoc) as a YAML file, object injection and resultant remote code execution are possible because there are no restrictions on the classes that can be restored.
(When loading the documentation cache, object injection and resultant remote code execution are also possible if there were a crafted cache.) The main fixed version is 6.6.3.1. For Ruby 3.0 users, a fixed version is rdoc 6.3.4.1. For Ruby 3.1 users, a fixed version is rdoc 6.4.1.1. For Ruby 3.2 users, a fixed version is rdoc 6.5.1.1.
CVE-2024-27282 An issue was discovered in Ruby 3.x through 3.3.0. If attacker-supplied data is provided to the Ruby regex compiler, it is possible to extract arbitrary heap data relative to the start of the text, including pointers and sensitive strings. The fixed versions are 3.0.7, 3.1.5, 3.2.4, and 3.3.1.
Modularity name: ruby Stream name: 3.1

Tenable has extracted the preceding description block directly from the MiracleLinux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://tsn.miraclelinux.com/en/node/19687

Plugin Details

Severity: Critical

ID: 293281

File Name: miracle_linux_AXSA-2024-8503.nasl

Version: 1.1

Type: local

Published: 1/20/2026

Updated: 1/20/2026

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

Vendor

Vendor Severity: Moderate

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

CPE: p-cpe:/a:miracle:linux:rubygem-pg, p-cpe:/a:miracle:linux:rubygem-abrt-doc, p-cpe:/a:miracle:linux:rubygem-pg-doc, p-cpe:/a:miracle:linux:rubygem-io-console, p-cpe:/a:miracle:linux:rubygem-pg-debugsource, p-cpe:/a:miracle:linux:rubygem-rss, p-cpe:/a:miracle:linux:rubygem-mysql2-doc, p-cpe:/a:miracle:linux:rubygem-typeprof, p-cpe:/a:miracle:linux:rubygem-bundler, p-cpe:/a:miracle:linux:ruby-libs, p-cpe:/a:miracle:linux:ruby-bundled-gems, p-cpe:/a:miracle:linux:rubygems, p-cpe:/a:miracle:linux:rubygem-minitest, p-cpe:/a:miracle:linux:rubygem-rake, p-cpe:/a:miracle:linux:rubygem-mysql2, p-cpe:/a:miracle:linux:rubygem-rexml, p-cpe:/a:miracle:linux:rubygem-abrt, p-cpe:/a:miracle:linux:ruby-devel, p-cpe:/a:miracle:linux:rubygem-rbs, p-cpe:/a:miracle:linux:ruby-debugsource, p-cpe:/a:miracle:linux:rubygem-rdoc, p-cpe:/a:miracle:linux:ruby-default-gems, p-cpe:/a:miracle:linux:rubygem-json, cpe:/o:miracle:linux:8, p-cpe:/a:miracle:linux:rubygem-test-unit, p-cpe:/a:miracle:linux:rubygem-mysql2-debugsource, p-cpe:/a:miracle:linux:rubygem-power_assert, p-cpe:/a:miracle:linux:ruby-doc, p-cpe:/a:miracle:linux:rubygem-irb, p-cpe:/a:miracle:linux:ruby, p-cpe:/a:miracle:linux:rubygems-devel, p-cpe:/a:miracle:linux:rubygem-psych, p-cpe:/a:miracle:linux:rubygem-bigdecimal

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/MiracleLinux/release, Host/MiracleLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 7/3/2024

Vulnerability Publication Date: 3/25/2024

Reference Information

CVE: CVE-2024-27280, CVE-2024-27281, CVE-2024-27282