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):
* rubygem-bundler: Dependencies of gems with explicit source may be installed from a different source (CVE-2020-36327)
* rubygem-rdoc: Command injection vulnerability in RDoc (CVE-2021-31799)
* ruby: FTP PASV command response can cause Net::FTP to connect to arbitrary host (CVE-2021-31810)
* ruby: StartTLS stripping vulnerability in Net::IMAP (CVE-2021-32066)
* 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 14
| Release | Package | Fixed in |
|---|---|---|
| Rocky Linux · 8 | ruby | 0:2.6.9-108.module+el8.5.0+738+032c9c02 |
| 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.5.0-1.module+el8.4.0+593+8d7f9f0c |
| Rocky Linux · 8 | rubygem-bson | 0:4.5.0-1.module+el8.4.0+446+80b53620 |
| Rocky Linux · 8 | rubygem-mongo | 0:2.8.0-1.module+el8.4.0+593+8d7f9f0c |
| Rocky Linux · 8 | rubygem-mongo | 0:2.8.0-1.module+el8.4.0+446+80b53620 |
| Rocky Linux · 8 | rubygem-mysql2 | 0:0.5.2-1.module+el8.5.0+738+032c9c02 |
| Rocky Linux · 8 | rubygem-mysql2 | 0:0.5.2-1.module+el8.4.0+446+80b53620 |
| Rocky Linux · 8 | rubygem-mysql2 | 0:0.5.2-1.module+el8.4.0+593+8d7f9f0c |
| Rocky Linux · 8 | rubygem-pg | 0:1.1.4-1.module+el8.5.0+738+032c9c02 |
| Rocky Linux · 8 | rubygem-pg | 0:1.1.4-1.module+el8.4.0+446+80b53620 |
| Rocky Linux · 8 | rubygem-pg | 0:1.1.4-1.module+el8.4.0+593+8d7f9f0c |
Vulnerabilities 6
-
High 8.8
Dependency Confusion in Bundler
Bundler 1.16.0 through 2.2.9 and 2.2.11 through 2.2.16 sometimes chooses a dependency source based on the highest gem version number, which means that a rogue gem found at a public source may be chosen, even if the intended choice was a private gem that is a …
-
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.
-
High 7.0
Arbitrary Code Execution in Rdoc
In RDoc 3.11 through 6.x before 6.3.1, as distributed with Ruby through 3.0.1, it is possible to execute arbitrary code via | and tags in a filename.
-
Unscored —
An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. A malicious FTP server can u…
-
Unscored —
An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. Net::IMAP does not raise an …
References
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1958999
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1980126
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1980128
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1980132
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2025104
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2026757