{"id":"ALSA-2022:6450","summary":"Moderate: ruby:3.0 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#2109431)\n\nSecurity Fix(es):\n\n* ruby: Regular expression denial of service vulnerability of Date parsing methods (CVE-2021-41817)\n* ruby: Cookie prefix spoofing in CGI::Cookie.parse (CVE-2021-41819)\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.\n\nBug Fix(es):\n\n* ruby 3.0: User-installed rubygems plugins are not being loaded [AlmaLinux8] (BZ#2110981)","modified":"2026-02-04T02:26:58.206765Z","published":"2022-09-13T00:00:00Z","related":["CVE-2021-41817","CVE-2021-41819","CVE-2022-28738","CVE-2022-28739"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2022:6450"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2021-41817"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2021-41819"},{"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/2025104"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2026757"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2075685"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2075687"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2022-6450.html"}],"affected":[{"package":{"name":"ruby","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/ruby"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"ruby-default-gems","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/ruby-default-gems"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"ruby-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/ruby-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"ruby-doc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/ruby-doc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"ruby-libs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/ruby-libs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.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.5.0+2595+0c654ebc"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.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.5.0+2595+0c654ebc"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-bigdecimal","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-bigdecimal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-bundler","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-bundler"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.33-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.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.7-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-irb","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-irb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-json","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-json"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-minitest","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-minitest"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.14.2-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-mysql2","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-mysql2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-1.module_el8.5.0+2595+0c654ebc"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-mysql2","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-mysql2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-1.module_el8.6.0+3144+d138acf1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-mysql2","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-mysql2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-1.module_el8.5.0+118+1ab773e1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.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-1.module_el8.5.0+2595+0c654ebc"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-pg","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-pg"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3-1.module_el8.5.0+2595+0c654ebc"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-pg","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-pg"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3-1.module_el8.5.0+118+1ab773e1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-pg","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-pg"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3-1.module_el8.6.0+3144+d138acf1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-pg-doc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-pg-doc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3-1.module_el8.5.0+2595+0c654ebc"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-power_assert","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-power_assert"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-psych","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-psych"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.2-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-rake","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-rake"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.0.3-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-rbs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-rbs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-rdoc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-rdoc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.3-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-rexml","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-rexml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.5-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-rss","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-rss"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.9-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-test-unit","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-test-unit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.7-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygem-typeprof","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygem-typeprof"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.2-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygems","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygems"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.33-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}},{"package":{"name":"rubygems-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rubygems-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.33-141.module_el8.6.0+3263+41cde0c0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:6450.json"}}],"schema_version":"1.7.3"}