Summary
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)
Fixed packages 32
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 8 | ruby | 3.0.4-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | ruby-default-gems | 3.0.4-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | ruby-devel | 3.0.4-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | ruby-doc | 3.0.4-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | ruby-libs | 3.0.4-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-abrt | 0.4.0-1.module_el8.5.0+2595+0c654ebc |
| AlmaLinux · 8 | rubygem-abrt-doc | 0.4.0-1.module_el8.5.0+2595+0c654ebc |
| AlmaLinux · 8 | rubygem-bigdecimal | 3.0.0-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-bundler | 2.2.33-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-io-console | 0.5.7-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-irb | 1.3.5-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-json | 2.5.1-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-minitest | 5.14.2-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-mysql2 | 0.5.3-1.module_el8.5.0+2595+0c654ebc |
| AlmaLinux · 8 | rubygem-mysql2 | 0.5.3-1.module_el8.6.0+3144+d138acf1 |
| AlmaLinux · 8 | rubygem-mysql2 | 0.5.3-1.module_el8.5.0+118+1ab773e1 |
| AlmaLinux · 8 | rubygem-mysql2-doc | 0.5.3-1.module_el8.5.0+2595+0c654ebc |
| AlmaLinux · 8 | rubygem-pg | 1.2.3-1.module_el8.5.0+2595+0c654ebc |
| AlmaLinux · 8 | rubygem-pg | 1.2.3-1.module_el8.5.0+118+1ab773e1 |
| AlmaLinux · 8 | rubygem-pg | 1.2.3-1.module_el8.6.0+3144+d138acf1 |
| AlmaLinux · 8 | rubygem-pg-doc | 1.2.3-1.module_el8.5.0+2595+0c654ebc |
| AlmaLinux · 8 | rubygem-power_assert | 1.2.0-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-psych | 3.3.2-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-rake | 13.0.3-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-rbs | 1.4.0-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-rdoc | 6.3.3-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-rexml | 3.2.5-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-rss | 0.2.9-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-test-unit | 3.3.7-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygem-typeprof | 0.15.2-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygems | 3.2.33-141.module_el8.6.0+3263+41cde0c0 |
| AlmaLinux · 8 | rubygems-devel | 3.2.33-141.module_el8.6.0+3263+41cde0c0 |
Vulnerabilities 4
-
High 7.5
Regular expression denial of service vulnerability (ReDoS) in date
Date.parse in the date gem through 3.2.0 for Ruby allows ReDoS (regular expression Denial of Service) via a long string. The fixed versions are 3.2.1, 3.1.2, 3.0.2, and 2.0.1.
-
High 7.5
Cookie Prefix Spoofing in CGI::Cookie.parse
CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.
-
Unscored —
A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to…
-
Unscored —
There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occ…
References
-
report
https://access.redhat.com/security/cve/CVE-2021-41817
-
report
https://access.redhat.com/security/cve/CVE-2021-41819
-
report
https://access.redhat.com/security/cve/CVE-2022-28738
-
report
https://access.redhat.com/security/cve/CVE-2022-28739
-
report
https://bugzilla.redhat.com/2025104
-
report
https://bugzilla.redhat.com/2026757
-
report
https://bugzilla.redhat.com/2075685
-
report
https://bugzilla.redhat.com/2075687
-
report
https://bugzilla.redhat.com/2109431
-
report
https://bugzilla.redhat.com/2110981
-
advisory
https://errata.almalinux.org/8/ALSA-2022-6450.html