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: RCE vulnerability with .rdoc_options in RDoc (CVE-2024-27281)
* ruby: Buffer overread vulnerability in StringIO (CVE-2024-27280)
* ruby: Arbitrary memory address read vulnerability with Regex search (CVE-2024-27282)
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
Fixed packages 29
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 8 | ruby | 3.1.5-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | ruby-bundled-gems | 3.1.5-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | ruby-default-gems | 3.1.5-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | ruby-devel | 3.1.5-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | ruby-doc | 3.1.5-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | ruby-libs | 3.1.5-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-abrt | 0.4.0-1.module_el8.9.0+3746+91b8233a |
| AlmaLinux · 8 | rubygem-abrt-doc | 0.4.0-1.module_el8.9.0+3746+91b8233a |
| AlmaLinux · 8 | rubygem-bigdecimal | 3.1.1-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-bundler | 2.3.27-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-io-console | 0.5.11-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-irb | 1.4.1-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-json | 2.6.1-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-minitest | 5.15.0-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-mysql2 | 0.5.3-3.module_el8.9.0+3746+91b8233a |
| AlmaLinux · 8 | rubygem-mysql2-doc | 0.5.3-3.module_el8.9.0+3746+91b8233a |
| AlmaLinux · 8 | rubygem-pg | 1.3.2-1.module_el8.9.0+3746+91b8233a |
| AlmaLinux · 8 | rubygem-pg-doc | 1.3.2-1.module_el8.9.0+3746+91b8233a |
| AlmaLinux · 8 | rubygem-power_assert | 2.0.1-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-psych | 4.0.4-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-rake | 13.0.6-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-rbs | 2.7.0-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-rdoc | 6.4.1.1-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-rexml | 3.2.5-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-rss | 0.2.9-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-test-unit | 3.5.3-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygem-typeprof | 0.21.3-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygems | 3.3.27-143.module_el8.10.0+3854+02eaa59a |
| AlmaLinux · 8 | rubygems-devel | 3.3.27-143.module_el8.10.0+3854+02eaa59a |
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/8/ALSA-2024-3546.html