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.3). (AlmaLinux-37697)
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 28
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 9 | ruby | 3.3.1-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | ruby-bundled-gems | 3.3.1-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | ruby-default-gems | 3.3.1-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | ruby-devel | 3.3.1-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | ruby-doc | 3.3.1-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | ruby-libs | 3.3.1-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-bigdecimal | 3.1.5-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-bundler | 2.5.9-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-io-console | 0.7.1-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-irb | 1.11.0-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-json | 2.7.1-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-minitest | 5.20.0-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-mysql2 | 0.5.5-1.module_el9.4.0+75+1a8fe981 |
| AlmaLinux · 9 | rubygem-mysql2-doc | 0.5.5-1.module_el9.4.0+75+1a8fe981 |
| AlmaLinux · 9 | rubygem-pg | 1.5.4-1.module_el9.4.0+75+1a8fe981 |
| AlmaLinux · 9 | rubygem-pg-doc | 1.5.4-1.module_el9.4.0+75+1a8fe981 |
| AlmaLinux · 9 | rubygem-power_assert | 2.0.3-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-psych | 5.1.2-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-racc | 1.7.3-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-rake | 13.1.0-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-rbs | 3.4.0-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-rdoc | 6.6.3.1-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-rexml | 3.2.6-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-rss | 0.3.0-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-test-unit | 3.6.1-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygem-typeprof | 0.21.9-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygems | 3.5.9-2.module_el9.4.0+102+68a93853 |
| AlmaLinux · 9 | rubygems-devel | 3.5.9-2.module_el9.4.0+102+68a93853 |
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-3671.html