AlmaLinux Security Advisory
ALSA-2024:1576
Moderate: ruby:3.1 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.1). (AlmaLinux-29052)
Security Fix(es):
- ruby/cgi-gem: HTTP response splitting in CGI (CVE-2021-33621)
- ruby: ReDoS vulnerability in URI (CVE-2023-28755)
- ruby: ReDoS vulnerability - upstream's incomplete fix for CVE-2023-28755 (CVE-2023-36617)
- ruby: ReDoS vulnerability in Time (CVE-2023-28756)
Bug Fix(es):
- ruby/rubygem-irb: IRB has hard dependency on rubygem-rdoc (AlmaLinux-29048)
- ruby: Ruby cannot read private key in FIPS mode on AlmaLinux 9 (AlmaLinux-12437)
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:9 | ruby | All versions before 3.1.4-143.module_el9.3.0+60+5ebc989a (fixed in 3.1.4-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | ruby-bundled-gems | All versions before 3.1.4-143.module_el9.3.0+60+5ebc989a (fixed in 3.1.4-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | ruby-default-gems | All versions before 3.1.4-143.module_el9.3.0+60+5ebc989a (fixed in 3.1.4-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | ruby-devel | All versions before 3.1.4-143.module_el9.3.0+60+5ebc989a (fixed in 3.1.4-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | ruby-doc | All versions before 3.1.4-143.module_el9.3.0+60+5ebc989a (fixed in 3.1.4-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | ruby-libs | All versions before 3.1.4-143.module_el9.3.0+60+5ebc989a (fixed in 3.1.4-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-bigdecimal | All versions before 3.1.1-143.module_el9.3.0+60+5ebc989a (fixed in 3.1.1-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-bundler | All versions before 2.3.26-143.module_el9.3.0+60+5ebc989a (fixed in 2.3.26-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-io-console | All versions before 0.5.11-143.module_el9.3.0+60+5ebc989a (fixed in 0.5.11-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-irb | All versions before 1.4.1-143.module_el9.3.0+60+5ebc989a (fixed in 1.4.1-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-json | All versions before 2.6.1-143.module_el9.3.0+60+5ebc989a (fixed in 2.6.1-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-minitest | All versions before 5.15.0-143.module_el9.3.0+60+5ebc989a (fixed in 5.15.0-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-mysql2 | All versions before 0.5.4-1.module_el9.1.0+8+503f6fbd (fixed in 0.5.4-1.module_el9.1.0+8+503f6fbd) |
| AlmaLinux:9 | rubygem-mysql2-doc | All versions before 0.5.4-1.module_el9.1.0+8+503f6fbd (fixed in 0.5.4-1.module_el9.1.0+8+503f6fbd) |
| AlmaLinux:9 | rubygem-pg | All versions before 1.3.5-1.module_el9.1.0+8+503f6fbd (fixed in 1.3.5-1.module_el9.1.0+8+503f6fbd) |
| AlmaLinux:9 | rubygem-pg-doc | All versions before 1.3.5-1.module_el9.1.0+8+503f6fbd (fixed in 1.3.5-1.module_el9.1.0+8+503f6fbd) |
| AlmaLinux:9 | rubygem-power_assert | All versions before 2.0.1-143.module_el9.3.0+60+5ebc989a (fixed in 2.0.1-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-psych | All versions before 4.0.4-143.module_el9.3.0+60+5ebc989a (fixed in 4.0.4-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-rake | All versions before 13.0.6-143.module_el9.3.0+60+5ebc989a (fixed in 13.0.6-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-rbs | All versions before 2.7.0-143.module_el9.3.0+60+5ebc989a (fixed in 2.7.0-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-rdoc | All versions before 6.4.0-143.module_el9.3.0+60+5ebc989a (fixed in 6.4.0-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-rexml | All versions before 3.2.5-143.module_el9.3.0+60+5ebc989a (fixed in 3.2.5-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-rss | All versions before 0.2.9-143.module_el9.3.0+60+5ebc989a (fixed in 0.2.9-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-test-unit | All versions before 3.5.3-143.module_el9.3.0+60+5ebc989a (fixed in 3.5.3-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygem-typeprof | All versions before 0.21.3-143.module_el9.3.0+60+5ebc989a (fixed in 0.21.3-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygems | All versions before 3.3.26-143.module_el9.3.0+60+5ebc989a (fixed in 3.3.26-143.module_el9.3.0+60+5ebc989a) |
| AlmaLinux:9 | rubygems-devel | All versions before 3.3.26-143.module_el9.3.0+60+5ebc989a (fixed in 3.3.26-143.module_el9.3.0+60+5ebc989a) |
References
- https://access.redhat.com/errata/RHSA-2024:1576
- https://access.redhat.com/security/cve/CVE-2021-33621
- https://access.redhat.com/security/cve/CVE-2023-28755
- https://access.redhat.com/security/cve/CVE-2023-28756
- https://access.redhat.com/security/cve/CVE-2023-36617
- https://bugzilla.redhat.com/2149706
- https://bugzilla.redhat.com/2184059
- https://bugzilla.redhat.com/2184061
- https://bugzilla.redhat.com/2218614
- https://errata.almalinux.org/9/ALSA-2024-1576.html