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 14
| Release | Package | Fixed in |
|---|---|---|
| Rocky Linux · 8 | ruby | 0:2.7.6-138.module+el8.6.0+1001+b5678180 |
| 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-bson | 0:4.8.1-1.module+el8.4.0+594+11b6673a |
| Rocky Linux · 8 | rubygem-bson | 0:4.8.1-1.module+el8.4.0+411+b946f28c |
| Rocky Linux · 8 | rubygem-mongo | 0:2.11.3-1.module+el8.4.0+594+11b6673a |
| Rocky Linux · 8 | rubygem-mongo | 0:2.11.3-1.module+el8.4.0+411+b946f28c |
| 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 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…