AlmaLinux Security Advisory
ALSA-2022:6450
Moderate: ruby:3.0 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.0.4). (BZ#2109431)
Security Fix(es):
- ruby: Regular expression denial of service vulnerability of Date parsing methods (CVE-2021-41817)
- ruby: Cookie prefix spoofing in CGI::Cookie.parse (CVE-2021-41819)
- Ruby: Double free in Regexp compilation (CVE-2022-28738)
- Ruby: Buffer overrun in String-to-Float conversion (CVE-2022-28739)
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.
Bug Fix(es):
- ruby 3.0: User-installed rubygems plugins are not being loaded [AlmaLinux8] (BZ#2110981)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| AlmaLinux:8 | ruby | All versions before 3.0.4-141.module_el8.6.0+3263+41cde0c0 (fixed in 3.0.4-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | ruby-default-gems | All versions before 3.0.4-141.module_el8.6.0+3263+41cde0c0 (fixed in 3.0.4-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | ruby-devel | All versions before 3.0.4-141.module_el8.6.0+3263+41cde0c0 (fixed in 3.0.4-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | ruby-doc | All versions before 3.0.4-141.module_el8.6.0+3263+41cde0c0 (fixed in 3.0.4-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | ruby-libs | All versions before 3.0.4-141.module_el8.6.0+3263+41cde0c0 (fixed in 3.0.4-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-abrt | All versions before 0.4.0-1.module_el8.5.0+2595+0c654ebc (fixed in 0.4.0-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-abrt-doc | All versions before 0.4.0-1.module_el8.5.0+2595+0c654ebc (fixed in 0.4.0-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-bigdecimal | All versions before 3.0.0-141.module_el8.6.0+3263+41cde0c0 (fixed in 3.0.0-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-bundler | All versions before 2.2.33-141.module_el8.6.0+3263+41cde0c0 (fixed in 2.2.33-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-io-console | All versions before 0.5.7-141.module_el8.6.0+3263+41cde0c0 (fixed in 0.5.7-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-irb | All versions before 1.3.5-141.module_el8.6.0+3263+41cde0c0 (fixed in 1.3.5-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-json | All versions before 2.5.1-141.module_el8.6.0+3263+41cde0c0 (fixed in 2.5.1-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-minitest | All versions before 5.14.2-141.module_el8.6.0+3263+41cde0c0 (fixed in 5.14.2-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-mysql2 | All versions before 0.5.3-1.module_el8.5.0+2595+0c654ebc (fixed in 0.5.3-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-mysql2 | All versions before 0.5.3-1.module_el8.6.0+3144+d138acf1 (fixed in 0.5.3-1.module_el8.6.0+3144+d138acf1) |
| AlmaLinux:8 | rubygem-mysql2 | All versions before 0.5.3-1.module_el8.5.0+118+1ab773e1 (fixed in 0.5.3-1.module_el8.5.0+118+1ab773e1) |
| AlmaLinux:8 | rubygem-mysql2-doc | All versions before 0.5.3-1.module_el8.5.0+2595+0c654ebc (fixed in 0.5.3-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-pg | All versions before 1.2.3-1.module_el8.5.0+2595+0c654ebc (fixed in 1.2.3-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-pg | All versions before 1.2.3-1.module_el8.5.0+118+1ab773e1 (fixed in 1.2.3-1.module_el8.5.0+118+1ab773e1) |
| AlmaLinux:8 | rubygem-pg | All versions before 1.2.3-1.module_el8.6.0+3144+d138acf1 (fixed in 1.2.3-1.module_el8.6.0+3144+d138acf1) |
| AlmaLinux:8 | rubygem-pg-doc | All versions before 1.2.3-1.module_el8.5.0+2595+0c654ebc (fixed in 1.2.3-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-power_assert | All versions before 1.2.0-141.module_el8.6.0+3263+41cde0c0 (fixed in 1.2.0-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-psych | All versions before 3.3.2-141.module_el8.6.0+3263+41cde0c0 (fixed in 3.3.2-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-rake | All versions before 13.0.3-141.module_el8.6.0+3263+41cde0c0 (fixed in 13.0.3-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-rbs | All versions before 1.4.0-141.module_el8.6.0+3263+41cde0c0 (fixed in 1.4.0-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-rdoc | All versions before 6.3.3-141.module_el8.6.0+3263+41cde0c0 (fixed in 6.3.3-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-rexml | All versions before 3.2.5-141.module_el8.6.0+3263+41cde0c0 (fixed in 3.2.5-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-rss | All versions before 0.2.9-141.module_el8.6.0+3263+41cde0c0 (fixed in 0.2.9-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-test-unit | All versions before 3.3.7-141.module_el8.6.0+3263+41cde0c0 (fixed in 3.3.7-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygem-typeprof | All versions before 0.15.2-141.module_el8.6.0+3263+41cde0c0 (fixed in 0.15.2-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygems | All versions before 3.2.33-141.module_el8.6.0+3263+41cde0c0 (fixed in 3.2.33-141.module_el8.6.0+3263+41cde0c0) |
| AlmaLinux:8 | rubygems-devel | All versions before 3.2.33-141.module_el8.6.0+3263+41cde0c0 (fixed in 3.2.33-141.module_el8.6.0+3263+41cde0c0) |
References
- https://access.redhat.com/errata/RHSA-2022:6450
- https://access.redhat.com/security/cve/CVE-2021-41817
- https://access.redhat.com/security/cve/CVE-2021-41819
- https://access.redhat.com/security/cve/CVE-2022-28738
- https://access.redhat.com/security/cve/CVE-2022-28739
- https://bugzilla.redhat.com/2025104
- https://bugzilla.redhat.com/2026757
- https://bugzilla.redhat.com/2075685
- https://bugzilla.redhat.com/2075687
- https://bugzilla.redhat.com/2109431
- https://bugzilla.redhat.com/2110981
- https://errata.almalinux.org/8/ALSA-2022-6450.html