Advisory

RLSA-2024:3668

Also known as: CVE-2024-27280, CVE-2024-27281, CVE-2024-27282

Summary

Moderate: ruby:3.1 security, bug fix, and enhancement update

Details

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.

The following packages have been upgraded to a later upstream version: ruby (3.1). (Rocky Linux-35449)

Security Fix(es):

  • ruby: Buffer overread vulnerability in StringIO (CVE-2024-27280)
  • ruby: RCE vulnerability with .rdoc_options in RDoc (CVE-2024-27281)
  • ruby: Arbitrary memory address read vulnerability with Regex search (CVE-2024-27282)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Severity

Medium Basis: CVSS v3 score 6.6, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

Dates

Published
2024-06-14 14:00 UTC
Modified
2025-10-09 05:47 UTC

Affected packages and fixes

rubygem-mysql2

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:0.5.4-1.module+el9.6.0+31865+0893c253 (ecosystem)

Fixed versions

0:0.5.4-1.module+el9.6.0+31865+0893c253

Fix

  • Fixed version 0:0.5.4-1.module+el9.6.0+31865+0893c253
    sudo dnf upgrade rubygem-mysql2-0:0.5.4-1.module+el9.6.0+31865+0893c253

rubygem-pg

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:1.3.5-1.module+el9.6.0+31865+0893c253 (ecosystem)

Fixed versions

0:1.3.5-1.module+el9.6.0+31865+0893c253

Fix

  • Fixed version 0:1.3.5-1.module+el9.6.0+31865+0893c253
    sudo dnf upgrade rubygem-pg-0:1.3.5-1.module+el9.6.0+31865+0893c253

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences