AlmaLinux Security Advisory
ALSA-2024:3668
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-35449)
Security Fix(es):
- ruby: Buffer overread vulnerability in StringIO (CVE-2024-27280)
- ruby: RCE vulnerability with .rdoc_options in RDoc (CVE-2024-27281)
- ruby: Arbitrary memory address read vulnerability with Regex search (CVE-2024-27282)
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.5-144.module_el9.4.0+101+d58a8d95 (fixed in 3.1.5-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | ruby-bundled-gems | All versions before 3.1.5-144.module_el9.4.0+101+d58a8d95 (fixed in 3.1.5-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | ruby-default-gems | All versions before 3.1.5-144.module_el9.4.0+101+d58a8d95 (fixed in 3.1.5-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | ruby-devel | All versions before 3.1.5-144.module_el9.4.0+101+d58a8d95 (fixed in 3.1.5-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | ruby-doc | All versions before 3.1.5-144.module_el9.4.0+101+d58a8d95 (fixed in 3.1.5-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | ruby-libs | All versions before 3.1.5-144.module_el9.4.0+101+d58a8d95 (fixed in 3.1.5-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-bigdecimal | All versions before 3.1.1-144.module_el9.4.0+101+d58a8d95 (fixed in 3.1.1-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-bundler | All versions before 2.3.27-144.module_el9.4.0+101+d58a8d95 (fixed in 2.3.27-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-io-console | All versions before 0.5.11-144.module_el9.4.0+101+d58a8d95 (fixed in 0.5.11-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-irb | All versions before 1.4.1-144.module_el9.4.0+101+d58a8d95 (fixed in 1.4.1-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-json | All versions before 2.6.1-144.module_el9.4.0+101+d58a8d95 (fixed in 2.6.1-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-minitest | All versions before 5.15.0-144.module_el9.4.0+101+d58a8d95 (fixed in 5.15.0-144.module_el9.4.0+101+d58a8d95) |
| 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-144.module_el9.4.0+101+d58a8d95 (fixed in 2.0.1-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-psych | All versions before 4.0.4-144.module_el9.4.0+101+d58a8d95 (fixed in 4.0.4-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-rake | All versions before 13.0.6-144.module_el9.4.0+101+d58a8d95 (fixed in 13.0.6-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-rbs | All versions before 2.7.0-144.module_el9.4.0+101+d58a8d95 (fixed in 2.7.0-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-rdoc | All versions before 6.4.1.1-144.module_el9.4.0+101+d58a8d95 (fixed in 6.4.1.1-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-rexml | All versions before 3.2.5-144.module_el9.4.0+101+d58a8d95 (fixed in 3.2.5-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-rss | All versions before 0.2.9-144.module_el9.4.0+101+d58a8d95 (fixed in 0.2.9-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-test-unit | All versions before 3.5.3-144.module_el9.4.0+101+d58a8d95 (fixed in 3.5.3-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygem-typeprof | All versions before 0.21.3-144.module_el9.4.0+101+d58a8d95 (fixed in 0.21.3-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygems | All versions before 3.3.27-144.module_el9.4.0+101+d58a8d95 (fixed in 3.3.27-144.module_el9.4.0+101+d58a8d95) |
| AlmaLinux:9 | rubygems-devel | All versions before 3.3.27-144.module_el9.4.0+101+d58a8d95 (fixed in 3.3.27-144.module_el9.4.0+101+d58a8d95) |
References
- https://access.redhat.com/errata/RHSA-2024:3668
- https://access.redhat.com/security/cve/CVE-2024-27280
- https://access.redhat.com/security/cve/CVE-2024-27281
- https://access.redhat.com/security/cve/CVE-2024-27282
- https://bugzilla.redhat.com/2270749
- https://bugzilla.redhat.com/2270750
- https://bugzilla.redhat.com/2276810
- https://errata.almalinux.org/9/ALSA-2024-3668.html