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 (2.7.6). (BZ#2109424)
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: 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.
Fixed packages 40
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 8 | ruby | 2.7.6-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | ruby-default-gems | 2.7.6-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | ruby-devel | 2.7.6-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | ruby-doc | 2.7.6-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | ruby-libs | 2.7.6-138.module_el8.6.0+3263+904da987 |
| 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 | 2.0.0-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-bson | 4.8.1-1.module_el8.5.0+117+35d1289b |
| AlmaLinux · 8 | rubygem-bson | 4.8.1-1.module_el8.6.0+3167+957ef55e |
| AlmaLinux · 8 | rubygem-bson | 4.8.1-1.module_el8.4.0+2399+4e3a532a |
| AlmaLinux · 8 | rubygem-bson | 4.8.1-1.module_el8.3.0+6147+d0dfc1e4 |
| AlmaLinux · 8 | rubygem-bson-doc | 4.8.1-1.module_el8.3.0+6147+d0dfc1e4 |
| AlmaLinux · 8 | rubygem-bundler | 2.2.24-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-io-console | 0.5.6-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-irb | 1.2.6-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-json | 2.3.0-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-minitest | 5.13.0-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-mongo | 2.11.3-1.module_el8.3.0+6147+d0dfc1e4 |
| AlmaLinux · 8 | rubygem-mongo-doc | 2.11.3-1.module_el8.3.0+6147+d0dfc1e4 |
| AlmaLinux · 8 | rubygem-mysql2 | 0.5.3-1.module_el8.4.0+2399+4e3a532a |
| AlmaLinux · 8 | rubygem-mysql2 | 0.5.3-1.module_el8.6.0+3167+957ef55e |
| AlmaLinux · 8 | rubygem-mysql2 | 0.5.3-1.module_el8.5.0+2595+0c654ebc |
| AlmaLinux · 8 | rubygem-mysql2 | 0.5.3-1.module_el8.5.0+117+35d1289b |
| AlmaLinux · 8 | rubygem-mysql2-doc | 0.5.3-1.module_el8.5.0+2595+0c654ebc |
| AlmaLinux · 8 | rubygem-net-telnet | 0.2.0-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-openssl | 2.1.3-138.module_el8.6.0+3263+904da987 |
| 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+117+35d1289b |
| AlmaLinux · 8 | rubygem-pg | 1.2.3-1.module_el8.4.0+2399+4e3a532a |
| AlmaLinux · 8 | rubygem-pg | 1.2.3-1.module_el8.6.0+3167+957ef55e |
| AlmaLinux · 8 | rubygem-pg-doc | 1.2.3-1.module_el8.5.0+2595+0c654ebc |
| AlmaLinux · 8 | rubygem-power_assert | 1.1.7-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-psych | 3.1.0-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-rake | 13.0.1-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-rdoc | 6.2.1.1-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-test-unit | 3.3.4-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygem-xmlrpc | 0.3.0-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygems | 3.1.6-138.module_el8.6.0+3263+904da987 |
| AlmaLinux · 8 | rubygems-devel | 3.1.6-138.module_el8.6.0+3263+904da987 |
Vulnerabilities 3
-
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 —
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-28739
-
report
https://bugzilla.redhat.com/2025104
-
report
https://bugzilla.redhat.com/2026757
-
report
https://bugzilla.redhat.com/2075687
-
report
https://bugzilla.redhat.com/2109424
-
advisory
https://errata.almalinux.org/8/ALSA-2022-6447.html