RHSA-2021:2588: Moderate: ruby:2.6 security, bug fix, and enhancement update
Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.The following packages have been upgraded to a later upstream version: ruby (2.6.7). (BZ#1952627)Security Fix(es): rubygem-bundler: Insecure permissions on directory in /tmp/ allows for execution of malicious code (CVE-2019-3881) ruby: NUL injection vulnerability of File.fnmatch and File.fnmatch? (CVE-2019-15845) ruby: Regular expression denial of service vulnerability of WEBrick's Digest authentication (CVE-2019-16201) ruby: Code injection via command argument of Shell#test / Shell#[] (CVE-2019-16255) rubygem-json: Unsafe object creation vulnerability in JSON (CVE-2020-10663) ruby: BasicSocket#readnonblock method leads to information disclosure (CVE-2020-10933) ruby: Potential HTTP request smuggling in WEBrick (CVE-2020-25613) ruby: XML round-trip vulnerability in REXML (CVE-2021-28965) ruby: HTTP response splitting in WEBrick (CVE-2019-16254) 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.Bug Fix(es): Resolv::DNS: ruby:2.6/ruby: timeouts if multiple IPv6 name servers are given and address contains leading zero [rhel-8] (BZ#1954968)
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.6.7-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-abrtto a version that resolves this vulnerability.Fixed in 0.3.0-4.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-bsonto a version that resolves this vulnerability.Fixed in 4.5.0-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-mongoto a version that resolves this vulnerability.Fixed in 2.8.0-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-mysql2to a version that resolves this vulnerability.Fixed in 0.5.2-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-pgto a version that resolves this vulnerability.Fixed in 1.1.4-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/ruby-docto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-abrt-docto a version that resolves this vulnerability.Fixed in 0.3.0-4.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-bson-docto a version that resolves this vulnerability.Fixed in 4.5.0-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-bundlerto a version that resolves this vulnerability.Fixed in 1.17.2-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-irbto a version that resolves this vulnerability.Fixed in 1.0.0-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-minitestto a version that resolves this vulnerability.Fixed in 5.11.3-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-mongo-docto a version that resolves this vulnerability.Fixed in 2.8.0-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-mysql2-docto a version that resolves this vulnerability.Fixed in 0.5.2-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-net-telnetto a version that resolves this vulnerability.Fixed in 0.2.0-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-pg-docto a version that resolves this vulnerability.Fixed in 1.1.4-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-raketo a version that resolves this vulnerability.Fixed in 12.3.3-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-rdocto a version that resolves this vulnerability.Fixed in 6.1.2-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-test-unitto a version that resolves this vulnerability.Fixed in 3.2.9-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-xmlrpcto a version that resolves this vulnerability.Fixed in 0.3.0-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygemsto a version that resolves this vulnerability.Fixed in 3.0.3.1-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygems-develto a version that resolves this vulnerability.Fixed in 3.0.3.1-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/ruby-debuginfoto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/ruby-debugsourceto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/ruby-develto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/ruby-libsto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/ruby-libs-debuginfoto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-bigdecimalto a version that resolves this vulnerability.Fixed in 1.4.1-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-bigdecimal-debuginfoto a version that resolves this vulnerability.Fixed in 1.4.1-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-bson-debuginfoto a version that resolves this vulnerability.Fixed in 4.5.0-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-bson-debugsourceto a version that resolves this vulnerability.Fixed in 4.5.0-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-io-consoleto a version that resolves this vulnerability.Fixed in 0.4.7-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-io-console-debuginfoto a version that resolves this vulnerability.Fixed in 0.4.7-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-jsonto a version that resolves this vulnerability.Fixed in 2.1.0-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-json-debuginfoto a version that resolves this vulnerability.Fixed in 2.1.0-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-mysql2-debuginfoto a version that resolves this vulnerability.Fixed in 0.5.2-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-mysql2-debugsourceto a version that resolves this vulnerability.Fixed in 0.5.2-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-opensslto a version that resolves this vulnerability.Fixed in 2.1.2-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-openssl-debuginfoto a version that resolves this vulnerability.Fixed in 2.1.2-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-pg-debuginfoto a version that resolves this vulnerability.Fixed in 1.1.4-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-pg-debugsourceto a version that resolves this vulnerability.Fixed in 1.1.4-1.module+el8.1.0+3653+beb38eb0 - Upgrade
Upgrade
redhat/rubygem-psychto a version that resolves this vulnerability.Fixed in 3.1.0-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubygem-psych-debuginfoto a version that resolves this vulnerability.Fixed in 3.1.0-107.module+el8.4.0+10830+bbd85cce - Upgrade
Upgrade
redhat/rubyto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/ruby-debuginfoto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/ruby-debugsourceto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/ruby-develto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/ruby-libsto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/ruby-libs-debuginfoto a version that resolves this vulnerability.Fixed in 2.6.7-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/rubygem-bigdecimalto a version that resolves this vulnerability.Fixed in 1.4.1-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/rubygem-bigdecimal-debuginfoto a version that resolves this vulnerability.Fixed in 1.4.1-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/rubygem-bsonto a version that resolves this vulnerability.Fixed in 4.5.0-1.module+el8.1.0+3653+beb38eb0.aa - Upgrade
Upgrade
redhat/rubygem-bson-debuginfoto a version that resolves this vulnerability.Fixed in 4.5.0-1.module+el8.1.0+3653+beb38eb0.aa - Upgrade
Upgrade
redhat/rubygem-bson-debugsourceto a version that resolves this vulnerability.Fixed in 4.5.0-1.module+el8.1.0+3653+beb38eb0.aa - Upgrade
Upgrade
redhat/rubygem-io-consoleto a version that resolves this vulnerability.Fixed in 0.4.7-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/rubygem-io-console-debuginfoto a version that resolves this vulnerability.Fixed in 0.4.7-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/rubygem-jsonto a version that resolves this vulnerability.Fixed in 2.1.0-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/rubygem-json-debuginfoto a version that resolves this vulnerability.Fixed in 2.1.0-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/rubygem-mysql2to a version that resolves this vulnerability.Fixed in 0.5.2-1.module+el8.1.0+3653+beb38eb0.aa - Upgrade
Upgrade
redhat/rubygem-mysql2-debuginfoto a version that resolves this vulnerability.Fixed in 0.5.2-1.module+el8.1.0+3653+beb38eb0.aa - Upgrade
Upgrade
redhat/rubygem-mysql2-debugsourceto a version that resolves this vulnerability.Fixed in 0.5.2-1.module+el8.1.0+3653+beb38eb0.aa - Upgrade
Upgrade
redhat/rubygem-opensslto a version that resolves this vulnerability.Fixed in 2.1.2-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/rubygem-openssl-debuginfoto a version that resolves this vulnerability.Fixed in 2.1.2-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/rubygem-pgto a version that resolves this vulnerability.Fixed in 1.1.4-1.module+el8.1.0+3653+beb38eb0.aa - Upgrade
Upgrade
redhat/rubygem-pg-debuginfoto a version that resolves this vulnerability.Fixed in 1.1.4-1.module+el8.1.0+3653+beb38eb0.aa - Upgrade
Upgrade
redhat/rubygem-pg-debugsourceto a version that resolves this vulnerability.Fixed in 1.1.4-1.module+el8.1.0+3653+beb38eb0.aa - Upgrade
Upgrade
redhat/rubygem-psychto a version that resolves this vulnerability.Fixed in 3.1.0-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
redhat/rubygem-psych-debuginfoto a version that resolves this vulnerability.Fixed in 3.1.0-107.module+el8.4.0+10830+bbd85cce.aa - Upgrade
Upgrade
rubyto a version that resolves this vulnerability.Fixed in 2.6.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch BZ#1952627 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch BZ#1954968
Event History
Frequently Asked Questions
What is the severity of RHSA-2021:2588?
The severity of RHSA-2021:2588 is classified as important.
How do I fix RHSA-2021:2588?
To fix RHSA-2021:2588, you should upgrade the affected packages to versions 2.6.7-107.module+el8.4.0+10830+bbd85cce or later.
What packages are affected by RHSA-2021:2588?
Affected packages include ruby, rubygem-bigdecimal, rubygem-bson, and several related rubygem packages.
Is RHSA-2021:2588 specific to any operating system version?
Yes, RHSA-2021:2588 specifically affects Red Hat Enterprise Linux 8.
Are there specific components that this update impacts in RHSA-2021:2588?
This update impacts several Ruby-related packages, including ruby, ruby-doc, and multiple rubygems such as rubygem-mysql2 and rubygem-pg.