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.1). (AlmaLinux-35449)
Security Fix(es):
* ruby: Buffer overread vulnerability in StringIO (CVE-2024-27280)
* ruby: RCE vulnerability with .rdoc_options in RDoc (CVE-2024-27281)
* ruby: Arbitrary memory address read vulnerability with Regex search (CVE-2024-27282)
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 27
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 9 | ruby | 3.1.5-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | ruby-bundled-gems | 3.1.5-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | ruby-default-gems | 3.1.5-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | ruby-devel | 3.1.5-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | ruby-doc | 3.1.5-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | ruby-libs | 3.1.5-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-bigdecimal | 3.1.1-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-bundler | 2.3.27-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-io-console | 0.5.11-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-irb | 1.4.1-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-json | 2.6.1-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-minitest | 5.15.0-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-mysql2 | 0.5.4-1.module_el9.1.0+8+503f6fbd |
| AlmaLinux · 9 | rubygem-mysql2-doc | 0.5.4-1.module_el9.1.0+8+503f6fbd |
| AlmaLinux · 9 | rubygem-pg | 1.3.5-1.module_el9.1.0+8+503f6fbd |
| AlmaLinux · 9 | rubygem-pg-doc | 1.3.5-1.module_el9.1.0+8+503f6fbd |
| AlmaLinux · 9 | rubygem-power_assert | 2.0.1-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-psych | 4.0.4-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-rake | 13.0.6-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-rbs | 2.7.0-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-rdoc | 6.4.1.1-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-rexml | 3.2.5-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-rss | 0.2.9-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-test-unit | 3.5.3-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygem-typeprof | 0.21.3-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygems | 3.3.27-144.module_el9.4.0+101+d58a8d95 |
| AlmaLinux · 9 | rubygems-devel | 3.3.27-144.module_el9.4.0+101+d58a8d95 |
Vulnerabilities 3
-
Critical 9.8
StringIO buffer overread vulnerability
A buffer-overread issue was discovered in StringIO 3.0.1, as distributed in Ruby 3.0.x through 3.0.6 and 3.1.x through 3.1.4. The ungetbyte and ungetc methods on a StringIO can read past the end of a string, and a subsequent call to StringIO.gets may return t…
-
Medium 6.6
An issue was discovered in Ruby 3.x through 3.3.0. If attacker-supplied data is provided to the Ruby regex compiler, it…
-
Medium 4.5
RDoc RCE vulnerability with .rdoc_options
An issue was discovered in RDoc 6.3.3 through 6.6.2, as distributed in Ruby 3.x through 3.3.0. When parsing .rdoc_options (used for configuration in RDoc) as a YAML file, object injection and resultant remote code execution are possible because there are no r…
References
-
report
https://access.redhat.com/security/cve/CVE-2024-27280
-
report
https://access.redhat.com/security/cve/CVE-2024-27281
-
report
https://access.redhat.com/security/cve/CVE-2024-27282
-
report
https://bugzilla.redhat.com/2270749
-
report
https://bugzilla.redhat.com/2270750
-
report
https://bugzilla.redhat.com/2276810
-
advisory
https://errata.almalinux.org/9/ALSA-2024-3668.html