RHSA-2021:2587: Moderate: ruby:2.5 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.5.9). (BZ#1952626)Security Fix(es): 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.
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.5.9-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-abrtto a version that resolves this vulnerability.Fixed in 0.3.0-4.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-bsonto a version that resolves this vulnerability.Fixed in 4.3.0-2.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-bundlerto a version that resolves this vulnerability.Fixed in 1.16.1-3.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-mongoto a version that resolves this vulnerability.Fixed in 2.5.1-2.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-mysql2to a version that resolves this vulnerability.Fixed in 0.4.10-4.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-pgto a version that resolves this vulnerability.Fixed in 1.0.0-2.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/ruby-debuginfoto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/ruby-debugsourceto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/ruby-develto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/ruby-docto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/ruby-irbto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/ruby-libsto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/ruby-libs-debuginfoto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-abrt-docto a version that resolves this vulnerability.Fixed in 0.3.0-4.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-bigdecimalto a version that resolves this vulnerability.Fixed in 1.3.4-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-bigdecimal-debuginfoto a version that resolves this vulnerability.Fixed in 1.3.4-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-bson-debuginfoto a version that resolves this vulnerability.Fixed in 4.3.0-2.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-bson-debugsourceto a version that resolves this vulnerability.Fixed in 4.3.0-2.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-bson-docto a version that resolves this vulnerability.Fixed in 4.3.0-2.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-bundler-docto a version that resolves this vulnerability.Fixed in 1.16.1-3.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-io-consoleto a version that resolves this vulnerability.Fixed in 0.4.6-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-io-console-debuginfoto a version that resolves this vulnerability.Fixed in 0.4.6-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-jsonto a version that resolves this vulnerability.Fixed in 2.1.0-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-json-debuginfoto a version that resolves this vulnerability.Fixed in 2.1.0-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-minitestto a version that resolves this vulnerability.Fixed in 5.10.3-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-mongo-docto a version that resolves this vulnerability.Fixed in 2.5.1-2.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-mysql2-debuginfoto a version that resolves this vulnerability.Fixed in 0.4.10-4.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-mysql2-debugsourceto a version that resolves this vulnerability.Fixed in 0.4.10-4.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-mysql2-docto a version that resolves this vulnerability.Fixed in 0.4.10-4.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-net-telnetto a version that resolves this vulnerability.Fixed in 0.1.1-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-opensslto a version that resolves this vulnerability.Fixed in 2.1.2-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-openssl-debuginfoto a version that resolves this vulnerability.Fixed in 2.1.2-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-pg-debuginfoto a version that resolves this vulnerability.Fixed in 1.0.0-2.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-pg-debugsourceto a version that resolves this vulnerability.Fixed in 1.0.0-2.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-pg-docto a version that resolves this vulnerability.Fixed in 1.0.0-2.module+el8.1.0+3656+f80bfa1d - Upgrade
Upgrade
redhat/rubygem-psychto a version that resolves this vulnerability.Fixed in 3.0.2-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-psych-debuginfoto a version that resolves this vulnerability.Fixed in 3.0.2-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-raketo a version that resolves this vulnerability.Fixed in 12.3.3-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-rdocto a version that resolves this vulnerability.Fixed in 6.0.1.1-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-test-unitto a version that resolves this vulnerability.Fixed in 3.2.7-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygem-xmlrpcto a version that resolves this vulnerability.Fixed in 0.3.0-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygemsto a version that resolves this vulnerability.Fixed in 2.7.6.3-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubygems-develto a version that resolves this vulnerability.Fixed in 2.7.6.3-107.module+el8.4.0+10822+fe4fffb1 - Upgrade
Upgrade
redhat/rubyto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/ruby-debuginfoto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/ruby-debugsourceto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/ruby-develto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/ruby-libsto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/ruby-libs-debuginfoto a version that resolves this vulnerability.Fixed in 2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/rubygem-bigdecimalto a version that resolves this vulnerability.Fixed in 1.3.4-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/rubygem-bigdecimal-debuginfoto a version that resolves this vulnerability.Fixed in 1.3.4-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/rubygem-bsonto a version that resolves this vulnerability.Fixed in 4.3.0-2.module+el8.1.0+3656+f80bfa1d.aa - Upgrade
Upgrade
redhat/rubygem-bson-debuginfoto a version that resolves this vulnerability.Fixed in 4.3.0-2.module+el8.1.0+3656+f80bfa1d.aa - Upgrade
Upgrade
redhat/rubygem-bson-debugsourceto a version that resolves this vulnerability.Fixed in 4.3.0-2.module+el8.1.0+3656+f80bfa1d.aa - Upgrade
Upgrade
redhat/rubygem-io-consoleto a version that resolves this vulnerability.Fixed in 0.4.6-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/rubygem-io-console-debuginfoto a version that resolves this vulnerability.Fixed in 0.4.6-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/rubygem-jsonto a version that resolves this vulnerability.Fixed in 2.1.0-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/rubygem-json-debuginfoto a version that resolves this vulnerability.Fixed in 2.1.0-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/rubygem-mysql2to a version that resolves this vulnerability.Fixed in 0.4.10-4.module+el8.1.0+3656+f80bfa1d.aa - Upgrade
Upgrade
redhat/rubygem-mysql2-debuginfoto a version that resolves this vulnerability.Fixed in 0.4.10-4.module+el8.1.0+3656+f80bfa1d.aa - Upgrade
Upgrade
redhat/rubygem-mysql2-debugsourceto a version that resolves this vulnerability.Fixed in 0.4.10-4.module+el8.1.0+3656+f80bfa1d.aa - Upgrade
Upgrade
redhat/rubygem-opensslto a version that resolves this vulnerability.Fixed in 2.1.2-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/rubygem-openssl-debuginfoto a version that resolves this vulnerability.Fixed in 2.1.2-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/rubygem-pgto a version that resolves this vulnerability.Fixed in 1.0.0-2.module+el8.1.0+3656+f80bfa1d.aa - Upgrade
Upgrade
redhat/rubygem-pg-debuginfoto a version that resolves this vulnerability.Fixed in 1.0.0-2.module+el8.1.0+3656+f80bfa1d.aa - Upgrade
Upgrade
redhat/rubygem-pg-debugsourceto a version that resolves this vulnerability.Fixed in 1.0.0-2.module+el8.1.0+3656+f80bfa1d.aa - Upgrade
Upgrade
redhat/rubygem-psychto a version that resolves this vulnerability.Fixed in 3.0.2-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
redhat/rubygem-psych-debuginfoto a version that resolves this vulnerability.Fixed in 3.0.2-107.module+el8.4.0+10822+fe4fffb1.aa - Upgrade
Upgrade
rubyto a version that resolves this vulnerability.Fixed in 2.5.9 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch BZ#1952626
Event History
Frequently Asked Questions
What is the severity of RHSA-2021:2587?
The severity of RHSA-2021:2587 is classified as moderate.
How do I fix RHSA-2021:2587?
To fix RHSA-2021:2587, upgrade to the patched versions of the affected Ruby packages.
What packages are affected by RHSA-2021:2587?
RHSA-2021:2587 affects the Ruby package and several of its related gems and libraries including rubygem-bson, rubygem-io-console, and others.
Is the fix for RHSA-2021:2587 backward compatible?
Yes, the fix for RHSA-2021:2587 should be backward compatible with applications using the impacted packages.
When was RHSA-2021:2587 released?
RHSA-2021:2587 was released on October 25, 2021.