Advisory

RLSA-2025:4488

Also known as: CVE-2024-39908, CVE-2024-41123, CVE-2024-41946, CVE-2024-43398, CVE-2025-27219, CVE-2025-27220, CVE-2025-27221

Summary

Moderate: ruby:3.1 security update

Details

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

Security Fix(es):

  • rexml: DoS vulnerability in REXML (CVE-2024-39908)
  • rexml: rubygem-rexml: DoS when parsing an XML having many specific characters such as whitespace character, >] and ]> (CVE-2024-41123)
  • rexml: DoS vulnerability in REXML (CVE-2024-41946)
  • rexml: DoS vulnerability in REXML (CVE-2024-43398)
  • CGI: ReDoS in CGI::Util#escapeElement (CVE-2025-27220)
  • CGI: Denial of Service in CGI::Cookie.parse (CVE-2025-27219)
  • uri: userinfo leakage in URI#join, URI#merge and URI#+ (CVE-2025-27221)

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 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2025-07-29 13:40 UTC
Modified
2025-07-29 14:33 UTC

Affected packages and fixes

ruby

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:3.1.7-146.module+el9.5.0+31847+8b291b93 (ecosystem)

Fixed versions

0:3.1.7-146.module+el9.5.0+31847+8b291b93

Fix

  • Fixed version 0:3.1.7-146.module+el9.5.0+31847+8b291b93
    sudo dnf upgrade ruby-0:3.1.7-146.module+el9.5.0+31847+8b291b93

rubygem-mysql2

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:0.5.4-1.module+el9.5.0+31847+8b291b93 (ecosystem)

Fixed versions

0:0.5.4-1.module+el9.5.0+31847+8b291b93

Fix

  • Fixed version 0:0.5.4-1.module+el9.5.0+31847+8b291b93
    sudo dnf upgrade rubygem-mysql2-0:0.5.4-1.module+el9.5.0+31847+8b291b93

rubygem-pg

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:1.3.5-1.module+el9.5.0+31847+8b291b93 (ecosystem)

Fixed versions

0:1.3.5-1.module+el9.5.0+31847+8b291b93

Fix

  • Fixed version 0:1.3.5-1.module+el9.5.0+31847+8b291b93
    sudo dnf upgrade rubygem-pg-0:1.3.5-1.module+el9.5.0+31847+8b291b93

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