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-uri: ReDoS vulnerability - upstream's incomplete fix for CVE-2023-28755 (CVE-2023-36617)
* 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)
* REXML: DoS parsing an XML with many `<`s in an attribute value (CVE-2024-35176)
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 36
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 8 | ruby | 2.5.9-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | ruby-devel | 2.5.9-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | ruby-doc | 2.5.9-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | ruby-irb | 2.5.9-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | ruby-libs | 2.5.9-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-abrt | 0.3.0-4.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-abrt-doc | 0.3.0-4.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-bigdecimal | 1.3.4-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-bson | 4.3.0-2.module_el8.5.0+2625+ec418553 |
| AlmaLinux · 8 | rubygem-bson | 4.3.0-2.module_el8.6.0+3170+4b08f9d4 |
| AlmaLinux · 8 | rubygem-bson | 4.3.0-2.module_el8.5.0+259+8cec6917 |
| AlmaLinux · 8 | rubygem-bson-doc | 4.3.0-2.module_el8.5.0+2625+ec418553 |
| AlmaLinux · 8 | rubygem-bundler | 1.16.1-4.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-bundler-doc | 1.16.1-4.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-did_you_mean | 1.2.0-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-io-console | 0.4.6-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-json | 2.1.0-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-minitest | 5.10.3-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-mongo | 2.5.1-2.module_el8.5.0+2625+ec418553 |
| AlmaLinux · 8 | rubygem-mongo-doc | 2.5.1-2.module_el8.5.0+2625+ec418553 |
| AlmaLinux · 8 | rubygem-mysql2 | 0.4.10-4.module_el8.5.0+259+8cec6917 |
| AlmaLinux · 8 | rubygem-mysql2 | 0.4.10-4.module_el8.5.0+2625+ec418553 |
| AlmaLinux · 8 | rubygem-mysql2 | 0.4.10-4.module_el8.6.0+3170+4b08f9d4 |
| AlmaLinux · 8 | rubygem-mysql2-doc | 0.4.10-4.module_el8.5.0+2625+ec418553 |
| AlmaLinux · 8 | rubygem-net-telnet | 0.1.1-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-openssl | 2.1.2-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-pg | 1.0.0-3.module_el8.9.0+3635+c6f99506 |
| AlmaLinux · 8 | rubygem-pg-doc | 1.0.0-3.module_el8.9.0+3635+c6f99506 |
| AlmaLinux · 8 | rubygem-power_assert | 1.1.1-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-psych | 3.0.2-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-rake | 12.3.3-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-rdoc | 6.0.1.1-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-test-unit | 3.2.7-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygem-xmlrpc | 0.3.0-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygems | 2.7.6.3-112.module_el8.10.0+3871+342e2c2f |
| AlmaLinux · 8 | rubygems-devel | 2.7.6.3-112.module_el8.10.0+3871+342e2c2f |
Vulnerabilities 6
-
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 5.3
Ruby URI component ReDoS issue
A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. The fixed versions are 0.…
-
Medium 5.3
URI gem has ReDoS vulnerability
A ReDoS issue was discovered in the URI component before 0.12.2 for Ruby. The URI parser mishandles invalid URLs that have specific characters. There is an increase in execution time for parsing strings to URI objects with rfc2396_parser.rb and rfc3986_parser…
-
Medium 5.3CVE-2024-35176 Public exploit
REXML contains a denial of service vulnerability
REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.…
-
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-2023-36617
-
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://access.redhat.com/security/cve/CVE-2024-35176
-
report
https://bugzilla.redhat.com/2218614
-
report
https://bugzilla.redhat.com/2270749
-
report
https://bugzilla.redhat.com/2270750
-
report
https://bugzilla.redhat.com/2276810
-
report
https://bugzilla.redhat.com/2280894
-
advisory
https://errata.almalinux.org/8/ALSA-2024-4499.html