Advisory

RLSA-2022:6585

Also known as: CVE-2022-28738, CVE-2022-28739

Summary

Moderate: ruby 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.0.4). (BZ#2109428)

Security Fix(es):

  • Ruby: Double free in Regexp compilation (CVE-2022-28738)
  • Ruby: Buffer overrun in String-to-Float conversion (CVE-2022-28739)

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

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

Dates

Published
2022-09-20 11:36 UTC
Modified
2026-02-04 16:15 UTC

Affected packages and fixes

ruby

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:3.0.4-160.el9_0 (ecosystem)

Fixed versions

0:3.0.4-160.el9_0

Fix

  • Fixed version 0:3.0.4-160.el9_0
    sudo dnf upgrade ruby-0:3.0.4-160.el9_0

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