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 [Rocky Linux8] (BZ#2110981)
Fixed packages 10
| Release | Package | Fixed in |
|---|---|---|
| Rocky Linux · 8 | ruby | 0:3.0.4-141.module+el8.6.0+1002+a7dba0ac |
| Rocky Linux · 8 | rubygem-abrt | 0:0.4.0-1.module+el8.5.0+668+665814fa |
| Rocky Linux · 8 | rubygem-abrt | 0:0.4.0-1.module+el8.4.0+411+b946f28c |
| Rocky Linux · 8 | rubygem-abrt | 0:0.4.0-1.module+el8.4.0+594+11b6673a |
| Rocky Linux · 8 | rubygem-mysql2 | 0:0.5.3-1.module+el8.5.0+668+665814fa |
| Rocky Linux · 8 | rubygem-mysql2 | 0:0.5.3-1.module+el8.4.0+411+b946f28c |
| Rocky Linux · 8 | rubygem-mysql2 | 0:0.5.3-1.module+el8.4.0+594+11b6673a |
| Rocky Linux · 8 | rubygem-pg | 0:1.2.3-1.module+el8.5.0+668+665814fa |
| Rocky Linux · 8 | rubygem-pg | 0:1.2.3-1.module+el8.4.0+411+b946f28c |
| Rocky Linux · 8 | rubygem-pg | 0:1.2.3-1.module+el8.4.0+594+11b6673a |
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://bugzilla.redhat.com/show_bug.cgi?id=2025104
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2026757
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2075685
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2075687
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2109431
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2110981