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
| Ecosystem | Package | Affected versions |
|---|---|---|
| AlmaLinux:8 | ruby | 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:8 | ruby-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:8 | ruby-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:8 | ruby-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:8 | ruby-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:8 | ruby-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygem-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:8 | rubygems | 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:8 | rubygems-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
- https://access.redhat.com/errata/RHSA-2025:4063
- https://access.redhat.com/security/cve/CVE-2024-39908
- https://access.redhat.com/security/cve/CVE-2024-41123
- https://access.redhat.com/security/cve/CVE-2024-41946
- https://access.redhat.com/security/cve/CVE-2024-43398
- https://access.redhat.com/security/cve/CVE-2025-27219
- https://access.redhat.com/security/cve/CVE-2025-27220
- https://access.redhat.com/security/cve/CVE-2025-27221
- https://bugzilla.redhat.com/2298243
- https://bugzilla.redhat.com/2302268
- https://bugzilla.redhat.com/2302272
- https://bugzilla.redhat.com/2307297
- https://bugzilla.redhat.com/2349696
- https://bugzilla.redhat.com/2349699
- https://bugzilla.redhat.com/2349700
- https://errata.almalinux.org/8/ALSA-2025-4063.html