Skip to content
OpenAdvisories
Medium ALSA-2025:4063 7 CVEs

Moderate: ruby:3.1 security update

Published Apr 22, 2025 · Updated Oct 29, 2026

Summary

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.

Fixed packages 31

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

Vulnerabilities 7

References

  • report
    https://access.redhat.com/security/cve/CVE-2024-39908
  • report
    https://access.redhat.com/security/cve/CVE-2024-41123
  • report
    https://access.redhat.com/security/cve/CVE-2024-41946
  • report
    https://access.redhat.com/security/cve/CVE-2024-43398
  • report
    https://access.redhat.com/security/cve/CVE-2025-27219
  • report
    https://access.redhat.com/security/cve/CVE-2025-27220
  • report
    https://access.redhat.com/security/cve/CVE-2025-27221
  • report
    https://bugzilla.redhat.com/2298243
  • report
    https://bugzilla.redhat.com/2302268
  • report
    https://bugzilla.redhat.com/2302272
  • report
    https://bugzilla.redhat.com/2307297
  • report
    https://bugzilla.redhat.com/2349696
  • report
    https://bugzilla.redhat.com/2349699
  • report
    https://bugzilla.redhat.com/2349700
  • advisory
    https://errata.almalinux.org/8/ALSA-2025-4063.html