{"id":"ALSA-2022:6585","summary":"Moderate: ruby 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\nThe following packages have been upgraded to a later upstream version: ruby (3.0.4). (BZ#2109428)\n\nSecurity Fix(es):\n\n* Ruby: Double free in Regexp compilation (CVE-2022-28738)\n* Ruby: Buffer overrun in String-to-Float conversion (CVE-2022-28739)\n\nFor 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.","modified":"2026-01-30T00:30:37.559290Z","published":"2022-09-20T00:00:00Z","related":["CVE-2022-28738","CVE-2022-28739"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2022:6585"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-28738"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-28739"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2075685"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2075687"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2022-6585.html"}],"affected":[{"package":{"name":"ruby","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/ruby"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"ruby-default-gems","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/ruby-default-gems"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"ruby-devel","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/ruby-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"ruby-doc","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/ruby-doc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"ruby-libs","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/ruby-libs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-bigdecimal","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-bigdecimal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-bundler","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-bundler"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.33-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-io-console","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-io-console"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.7-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-irb","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-irb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-json","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-json"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-minitest","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-minitest"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.14.2-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-power_assert","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-power_assert"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-psych","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-psych"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.2-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-rake","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-rake"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.0.3-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-rbs","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-rbs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-rdoc","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-rdoc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.3-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-rexml","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-rexml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.5-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-rss","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-rss"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.9-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-test-unit","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-test-unit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.7-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygem-typeprof","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygem-typeprof"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.2-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygems","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygems"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.33-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}},{"package":{"name":"rubygems-devel","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/rubygems-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.33-160.el9_0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:6585.json"}}],"schema_version":"1.7.3"}