ADVISORIES

AlmaLinux Security Advisory

ALSA-2025:4063

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.

Affected packages

EcosystemPackageAffected versions
AlmaLinux:8ruby
All versions before 3.1.7-145.module_el8.10.0+3984+cf55e3df (fixed in 3.1.7-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8ruby-bundled-gems
All versions before 3.1.7-145.module_el8.10.0+3984+cf55e3df (fixed in 3.1.7-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8ruby-default-gems
All versions before 3.1.7-145.module_el8.10.0+3984+cf55e3df (fixed in 3.1.7-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8ruby-devel
All versions before 3.1.7-145.module_el8.10.0+3984+cf55e3df (fixed in 3.1.7-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8ruby-doc
All versions before 3.1.7-145.module_el8.10.0+3984+cf55e3df (fixed in 3.1.7-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8ruby-libs
All versions before 3.1.7-145.module_el8.10.0+3984+cf55e3df (fixed in 3.1.7-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-abrt
All versions before 0.4.0-1.module_el8.9.0+3746+91b8233a (fixed in 0.4.0-1.module_el8.9.0+3746+91b8233a)
AlmaLinux:8rubygem-abrt-doc
All versions before 0.4.0-1.module_el8.10.0+3854+02eaa59a (fixed in 0.4.0-1.module_el8.10.0+3854+02eaa59a)
AlmaLinux:8rubygem-bigdecimal
All versions before 3.1.1-145.module_el8.10.0+3984+cf55e3df (fixed in 3.1.1-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-bundler
All versions before 2.3.27-145.module_el8.10.0+3984+cf55e3df (fixed in 2.3.27-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-io-console
All versions before 0.5.11-145.module_el8.10.0+3984+cf55e3df (fixed in 0.5.11-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-irb
All versions before 1.4.1-145.module_el8.10.0+3984+cf55e3df (fixed in 1.4.1-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-json
All versions before 2.6.1-145.module_el8.10.0+3984+cf55e3df (fixed in 2.6.1-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-minitest
All versions before 5.15.0-145.module_el8.10.0+3984+cf55e3df (fixed in 5.15.0-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-mysql2
All versions before 0.5.3-3.module_el8.10.0+3854+02eaa59a (fixed in 0.5.3-3.module_el8.10.0+3854+02eaa59a)
AlmaLinux:8rubygem-mysql2
All versions before 0.5.3-3.module_el8.9.0+3746+91b8233a (fixed in 0.5.3-3.module_el8.9.0+3746+91b8233a)
AlmaLinux:8rubygem-mysql2-doc
All versions before 0.5.3-3.module_el8.10.0+3854+02eaa59a (fixed in 0.5.3-3.module_el8.10.0+3854+02eaa59a)
AlmaLinux:8rubygem-pg
All versions before 1.3.2-1.module_el8.10.0+3854+02eaa59a (fixed in 1.3.2-1.module_el8.10.0+3854+02eaa59a)
AlmaLinux:8rubygem-pg
All versions before 1.3.2-1.module_el8.9.0+3746+91b8233a (fixed in 1.3.2-1.module_el8.9.0+3746+91b8233a)
AlmaLinux:8rubygem-pg-doc
All versions before 1.3.2-1.module_el8.10.0+3854+02eaa59a (fixed in 1.3.2-1.module_el8.10.0+3854+02eaa59a)
AlmaLinux:8rubygem-power_assert
All versions before 2.0.1-145.module_el8.10.0+3984+cf55e3df (fixed in 2.0.1-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-psych
All versions before 4.0.4-145.module_el8.10.0+3984+cf55e3df (fixed in 4.0.4-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-rake
All versions before 13.0.6-145.module_el8.10.0+3984+cf55e3df (fixed in 13.0.6-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-rbs
All versions before 2.7.0-145.module_el8.10.0+3984+cf55e3df (fixed in 2.7.0-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-rdoc
All versions before 6.4.1.1-145.module_el8.10.0+3984+cf55e3df (fixed in 6.4.1.1-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-rexml
All versions before 3.3.9-145.module_el8.10.0+3984+cf55e3df (fixed in 3.3.9-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-rss
All versions before 0.3.1-145.module_el8.10.0+3984+cf55e3df (fixed in 0.3.1-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-test-unit
All versions before 3.5.3-145.module_el8.10.0+3984+cf55e3df (fixed in 3.5.3-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygem-typeprof
All versions before 0.21.3-145.module_el8.10.0+3984+cf55e3df (fixed in 0.21.3-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygems
All versions before 3.3.27-145.module_el8.10.0+3984+cf55e3df (fixed in 3.3.27-145.module_el8.10.0+3984+cf55e3df)
AlmaLinux:8rubygems-devel
All versions before 3.3.27-145.module_el8.10.0+3984+cf55e3df (fixed in 3.3.27-145.module_el8.10.0+3984+cf55e3df)

References