RHSA-2021:3020: Important: ruby:2.7 security update
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-bundler: Dependencies of gems with explicit source may be installed from a different source (CVE-2020-36327) rubygem-rdoc: Command injection vulnerability in RDoc (CVE-2021-31799) ruby: FTP PASV command response can cause Net::FTP to connect to arbitrary host (CVE-2021-31810) ruby: StartTLS stripping vulnerability in Net::IMAP (CVE-2021-32066) 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/rubyto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-abrtto a version that resolves this vulnerability.Fixed in 0.4.0-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-bsonto a version that resolves this vulnerability.Fixed in 4.8.1-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-mongoto a version that resolves this vulnerability.Fixed in 2.11.3-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-mysql2to a version that resolves this vulnerability.Fixed in 0.5.3-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-pgto a version that resolves this vulnerability.Fixed in 1.2.3-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/ruby-debuginfoto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/ruby-debugsourceto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/ruby-default-gemsto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/ruby-develto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/ruby-docto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/ruby-libsto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/ruby-libs-debuginfoto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-abrt-docto a version that resolves this vulnerability.Fixed in 0.4.0-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-bigdecimalto a version that resolves this vulnerability.Fixed in 2.0.0-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-bigdecimal-debuginfoto a version that resolves this vulnerability.Fixed in 2.0.0-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-bson-debuginfoto a version that resolves this vulnerability.Fixed in 4.8.1-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-bson-debugsourceto a version that resolves this vulnerability.Fixed in 4.8.1-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-bson-docto a version that resolves this vulnerability.Fixed in 4.8.1-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-bundlerto a version that resolves this vulnerability.Fixed in 2.2.24-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-io-consoleto a version that resolves this vulnerability.Fixed in 0.5.6-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-io-console-debuginfoto a version that resolves this vulnerability.Fixed in 0.5.6-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-irbto a version that resolves this vulnerability.Fixed in 1.2.6-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-jsonto a version that resolves this vulnerability.Fixed in 2.3.0-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-json-debuginfoto a version that resolves this vulnerability.Fixed in 2.3.0-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-minitestto a version that resolves this vulnerability.Fixed in 5.13.0-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-mongo-docto a version that resolves this vulnerability.Fixed in 2.11.3-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-mysql2-debuginfoto a version that resolves this vulnerability.Fixed in 0.5.3-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-mysql2-debugsourceto a version that resolves this vulnerability.Fixed in 0.5.3-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-mysql2-docto a version that resolves this vulnerability.Fixed in 0.5.3-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-net-telnetto a version that resolves this vulnerability.Fixed in 0.2.0-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-opensslto a version that resolves this vulnerability.Fixed in 2.1.2-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-openssl-debuginfoto a version that resolves this vulnerability.Fixed in 2.1.2-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-pg-debuginfoto a version that resolves this vulnerability.Fixed in 1.2.3-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-pg-debugsourceto a version that resolves this vulnerability.Fixed in 1.2.3-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-pg-docto a version that resolves this vulnerability.Fixed in 1.2.3-1.module+el8.3.0+7192+4e3a532a - Upgrade
Upgrade
redhat/rubygem-psychto a version that resolves this vulnerability.Fixed in 3.1.0-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-psych-debuginfoto a version that resolves this vulnerability.Fixed in 3.1.0-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-raketo a version that resolves this vulnerability.Fixed in 13.0.1-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-rdocto a version that resolves this vulnerability.Fixed in 6.2.1.1-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-test-unitto a version that resolves this vulnerability.Fixed in 3.3.4-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygem-xmlrpcto a version that resolves this vulnerability.Fixed in 0.3.0-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygemsto a version that resolves this vulnerability.Fixed in 3.1.6-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubygems-develto a version that resolves this vulnerability.Fixed in 3.1.6-137.module+el8.4.0+12025+f744ca41 - Upgrade
Upgrade
redhat/rubyto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/ruby-debuginfoto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/ruby-debugsourceto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/ruby-develto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/ruby-libsto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/ruby-libs-debuginfoto a version that resolves this vulnerability.Fixed in 2.7.4-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/rubygem-bigdecimalto a version that resolves this vulnerability.Fixed in 2.0.0-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/rubygem-bigdecimal-debuginfoto a version that resolves this vulnerability.Fixed in 2.0.0-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/rubygem-bsonto a version that resolves this vulnerability.Fixed in 4.8.1-1.module+el8.3.0+7192+4e3a532a.aa - Upgrade
Upgrade
redhat/rubygem-bson-debuginfoto a version that resolves this vulnerability.Fixed in 4.8.1-1.module+el8.3.0+7192+4e3a532a.aa - Upgrade
Upgrade
redhat/rubygem-bson-debugsourceto a version that resolves this vulnerability.Fixed in 4.8.1-1.module+el8.3.0+7192+4e3a532a.aa - Upgrade
Upgrade
redhat/rubygem-io-consoleto a version that resolves this vulnerability.Fixed in 0.5.6-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/rubygem-io-console-debuginfoto a version that resolves this vulnerability.Fixed in 0.5.6-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/rubygem-jsonto a version that resolves this vulnerability.Fixed in 2.3.0-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/rubygem-json-debuginfoto a version that resolves this vulnerability.Fixed in 2.3.0-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/rubygem-mysql2to a version that resolves this vulnerability.Fixed in 0.5.3-1.module+el8.3.0+7192+4e3a532a.aa - Upgrade
Upgrade
redhat/rubygem-mysql2-debuginfoto a version that resolves this vulnerability.Fixed in 0.5.3-1.module+el8.3.0+7192+4e3a532a.aa - Upgrade
Upgrade
redhat/rubygem-mysql2-debugsourceto a version that resolves this vulnerability.Fixed in 0.5.3-1.module+el8.3.0+7192+4e3a532a.aa - Upgrade
Upgrade
redhat/rubygem-opensslto a version that resolves this vulnerability.Fixed in 2.1.2-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/rubygem-openssl-debuginfoto a version that resolves this vulnerability.Fixed in 2.1.2-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/rubygem-pgto a version that resolves this vulnerability.Fixed in 1.2.3-1.module+el8.3.0+7192+4e3a532a.aa - Upgrade
Upgrade
redhat/rubygem-pg-debuginfoto a version that resolves this vulnerability.Fixed in 1.2.3-1.module+el8.3.0+7192+4e3a532a.aa - Upgrade
Upgrade
redhat/rubygem-pg-debugsourceto a version that resolves this vulnerability.Fixed in 1.2.3-1.module+el8.3.0+7192+4e3a532a.aa - Upgrade
Upgrade
redhat/rubygem-psychto a version that resolves this vulnerability.Fixed in 3.1.0-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
redhat/rubygem-psych-debuginfoto a version that resolves this vulnerability.Fixed in 3.1.0-137.module+el8.4.0+12025+f744ca41.aa - Upgrade
Upgrade
rubyto a version that resolves this vulnerability.Fixed in 2.7Patch CVE-2021-31810 - Upgrade
Upgrade
rubyto a version that resolves this vulnerability.Fixed in 2.7Patch CVE-2021-32066 - Upgrade
Upgrade
rubygem-rdocto a version that resolves this vulnerability.Fixed in 2.7Patch CVE-2021-31799 - Upgrade
Upgrade
rubygem-bundlerto a version that resolves this vulnerability.Fixed in 2.7Patch CVE-2020-36327
Event History
Frequently Asked Questions
What is the severity of RHSA-2021:3020?
The severity of RHSA-2021:3020 is classified as important due to potential security implications related to the Ruby Gem Bundler.
How do I fix RHSA-2021:3020?
To fix RHSA-2021:3020, upgrade the affected Ruby packages to their respective fixed versions as listed in the advisory.
Which packages are affected by RHSA-2021:3020?
Affected packages include rubygem-bundler, ruby, rubygem-bson, rubygem-mongodb, and several others, as detailed in the advisory.
Is RHSA-2021:3020 a critical vulnerability?
While RHSA-2021:3020 is not classified as critical, it addresses vulnerabilities that could potentially impact system integrity.
What are the potential risks of ignoring RHSA-2021:3020?
Ignoring RHSA-2021:3020 could expose your Ruby environment to vulnerabilities that might be exploited by attackers, affecting application security.