{"id":"ALSA-2024:3546","summary":"Moderate: ruby:3.1 security, bug fix, and enhancement update","details":"Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.\n\nSecurity Fix(es):\n\n* ruby: RCE vulnerability with .rdoc_options in RDoc (CVE-2024-27281)\n* ruby: Buffer overread vulnerability in StringIO (CVE-2024-27280)\n* ruby: Arbitrary memory address read vulnerability with Regex search (CVE-2024-27282)\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","modified":"2026-01-30T01:15:29.244288Z","published":"2024-06-03T00:00:00Z","related":["CVE-2024-27280","CVE-2024-27281","CVE-2024-27282"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:3546"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2024-27280"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2024-27281"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2024-27282"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2270749"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2270750"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2276810"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2024-3546.html"}],"affected":[{"package":{"name":"ruby","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/ruby"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.5-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"ruby-bundled-gems","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/ruby-bundled-gems"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.5-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"ruby-default-gems","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/ruby-default-gems"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.5-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"ruby-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/ruby-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.5-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"ruby-doc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/ruby-doc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.5-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"ruby-libs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/ruby-libs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.5-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-abrt","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-abrt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0-1.module_el8.9.0+3746+91b8233a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-abrt-doc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-abrt-doc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0-1.module_el8.9.0+3746+91b8233a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-bigdecimal","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-bigdecimal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-bundler","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-bundler"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.27-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-io-console","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-io-console"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.11-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-irb","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-irb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-json","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-json"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.1-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-minitest","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-minitest"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.15.0-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-mysql2","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-mysql2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-3.module_el8.9.0+3746+91b8233a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-mysql2-doc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-mysql2-doc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-3.module_el8.9.0+3746+91b8233a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-pg","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-pg"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-1.module_el8.9.0+3746+91b8233a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-pg-doc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-pg-doc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-1.module_el8.9.0+3746+91b8233a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-power_assert","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-power_assert"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-psych","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-psych"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.4-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-rake","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-rake"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.0.6-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-rbs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-rbs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-rdoc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-rdoc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.1.1-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-rexml","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-rexml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.5-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-rss","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-rss"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.9-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-test-unit","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-test-unit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.3-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygem-typeprof","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-typeprof"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21.3-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygems","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygems"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.27-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}},{"package":{"name":"rubygems-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygems-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.27-143.module_el8.10.0+3854+02eaa59a"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:3546.json"}}],"schema_version":"1.7.3"}