Summary
Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.
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)
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 15
| Release | Package | Fixed in |
|---|---|---|
| Rocky Linux · 8 | ruby | 0:2.5.9-110.module+el8.6.0+992+fc951c18 |
| Rocky Linux · 8 | rubygem-abrt | 0:0.3.0-4.module+el8.5.0+738+032c9c02 |
| Rocky Linux · 8 | rubygem-abrt | 0:0.3.0-4.module+el8.3.0+167+5c390590 |
| Rocky Linux · 8 | rubygem-abrt | 0:0.3.0-4.module+el8.4.0+592+03ff458a |
| Rocky Linux · 8 | rubygem-bson | 0:4.3.0-2.module+el8.4.0+592+03ff458a |
| Rocky Linux · 8 | rubygem-bson | 0:4.3.0-2.module+el8.3.0+167+5c390590 |
| Rocky Linux · 8 | rubygem-bundler | 0:1.16.1-4.module+el8.6.0+992+fc951c18 |
| Rocky Linux · 8 | rubygem-bundler | 0:1.16.1-4.module+el8.5.0+739+43897a5e |
| Rocky Linux · 8 | rubygem-mongo | 0:2.5.1-2.module+el8.4.0+592+03ff458a |
| Rocky Linux · 8 | rubygem-mongo | 0:2.5.1-2.module+el8.4.0+349+3470f258 |
| Rocky Linux · 8 | rubygem-mysql2 | 0:0.4.10-4.module+el8.5.0+739+43897a5e |
| Rocky Linux · 8 | rubygem-mysql2 | 0:0.4.10-4.module+el8.3.0+167+5c390590 |
| Rocky Linux · 8 | rubygem-mysql2 | 0:0.4.10-4.module+el8.4.0+592+03ff458a |
| Rocky Linux · 8 | rubygem-pg | 0:1.0.0-2.module+el8.4.0+592+03ff458a |
| Rocky Linux · 8 | rubygem-pg | 0:1.0.0-2.module+el8.3.0+167+5c390590 |
Vulnerabilities 2
-
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.