CWE
94
Advisory Published
Advisory Published

RHSA-2021:2587: Moderate: ruby:2.5 security, bug fix, and enhancement update

First published: Tue Jun 29 2021(Updated: )

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.<br>The following packages have been upgraded to a later upstream version: ruby (2.5.9). (BZ#1952626)<br>Security Fix(es):<br><li> ruby: NUL injection vulnerability of File.fnmatch and File.fnmatch? (CVE-2019-15845)</li> <li> ruby: Regular expression denial of service vulnerability of WEBrick's Digest authentication (CVE-2019-16201)</li> <li> ruby: Code injection via command argument of Shell#test / Shell#[] (CVE-2019-16255)</li> <li> rubygem-json: Unsafe object creation vulnerability in JSON (CVE-2020-10663)</li> <li> ruby: BasicSocket#read_nonblock method leads to information disclosure (CVE-2020-10933)</li> <li> ruby: Potential HTTP request smuggling in WEBrick (CVE-2020-25613)</li> <li> ruby: XML round-trip vulnerability in REXML (CVE-2021-28965)</li> <li> ruby: HTTP response splitting in WEBrick (CVE-2019-16254)</li> 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 SoftwareAffected VersionHow to fix
redhat/ruby<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-abrt<0.3.0-4.module+el8.1.0+3656+f80bfa1d
0.3.0-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-bson<4.3.0-2.module+el8.1.0+3656+f80bfa1d
4.3.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-bundler<1.16.1-3.module+el8.1.0+3656+f80bfa1d
1.16.1-3.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-mongo<2.5.1-2.module+el8.1.0+3656+f80bfa1d
2.5.1-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-mysql2<0.4.10-4.module+el8.1.0+3656+f80bfa1d
0.4.10-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-pg<1.0.0-2.module+el8.1.0+3656+f80bfa1d
1.0.0-2.module+el8.1.0+3656+f80bfa1d
redhat/ruby<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-debuginfo<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-debuginfo<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-debugsource<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-debugsource<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-devel<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-devel<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-doc<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-irb<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-libs<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-libs<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-libs-debuginfo<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-libs-debuginfo<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-abrt<0.3.0-4.module+el8.1.0+3656+f80bfa1d
0.3.0-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-abrt-doc<0.3.0-4.module+el8.1.0+3656+f80bfa1d
0.3.0-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-bigdecimal<1.3.4-107.module+el8.4.0+10822+fe4fffb1
1.3.4-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-bigdecimal<1.3.4-107.module+el8.4.0+10822+fe4fffb1
1.3.4-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-bigdecimal-debuginfo<1.3.4-107.module+el8.4.0+10822+fe4fffb1
1.3.4-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-bigdecimal-debuginfo<1.3.4-107.module+el8.4.0+10822+fe4fffb1
1.3.4-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-bson<4.3.0-2.module+el8.1.0+3656+f80bfa1d
4.3.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-bson-debuginfo<4.3.0-2.module+el8.1.0+3656+f80bfa1d
4.3.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-bson-debugsource<4.3.0-2.module+el8.1.0+3656+f80bfa1d
4.3.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-bson-doc<4.3.0-2.module+el8.1.0+3656+f80bfa1d
4.3.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-bundler<1.16.1-3.module+el8.1.0+3656+f80bfa1d
1.16.1-3.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-bundler-doc<1.16.1-3.module+el8.1.0+3656+f80bfa1d
1.16.1-3.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-io-console<0.4.6-107.module+el8.4.0+10822+fe4fffb1
0.4.6-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-io-console<0.4.6-107.module+el8.4.0+10822+fe4fffb1
0.4.6-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-io-console-debuginfo<0.4.6-107.module+el8.4.0+10822+fe4fffb1
0.4.6-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-io-console-debuginfo<0.4.6-107.module+el8.4.0+10822+fe4fffb1
0.4.6-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-json<2.1.0-107.module+el8.4.0+10822+fe4fffb1
2.1.0-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-json<2.1.0-107.module+el8.4.0+10822+fe4fffb1
2.1.0-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-json-debuginfo<2.1.0-107.module+el8.4.0+10822+fe4fffb1
2.1.0-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-json-debuginfo<2.1.0-107.module+el8.4.0+10822+fe4fffb1
2.1.0-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-minitest<5.10.3-107.module+el8.4.0+10822+fe4fffb1
5.10.3-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-mongo<2.5.1-2.module+el8.1.0+3656+f80bfa1d
2.5.1-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-mongo-doc<2.5.1-2.module+el8.1.0+3656+f80bfa1d
2.5.1-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-mysql2<0.4.10-4.module+el8.1.0+3656+f80bfa1d
0.4.10-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-mysql2-debuginfo<0.4.10-4.module+el8.1.0+3656+f80bfa1d
0.4.10-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-mysql2-debugsource<0.4.10-4.module+el8.1.0+3656+f80bfa1d
0.4.10-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-mysql2-doc<0.4.10-4.module+el8.1.0+3656+f80bfa1d
0.4.10-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-net-telnet<0.1.1-107.module+el8.4.0+10822+fe4fffb1
0.1.1-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-openssl<2.1.2-107.module+el8.4.0+10822+fe4fffb1
2.1.2-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-openssl<2.1.2-107.module+el8.4.0+10822+fe4fffb1
2.1.2-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-openssl-debuginfo<2.1.2-107.module+el8.4.0+10822+fe4fffb1
2.1.2-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-openssl-debuginfo<2.1.2-107.module+el8.4.0+10822+fe4fffb1
2.1.2-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-pg<1.0.0-2.module+el8.1.0+3656+f80bfa1d
1.0.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-pg-debuginfo<1.0.0-2.module+el8.1.0+3656+f80bfa1d
1.0.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-pg-debugsource<1.0.0-2.module+el8.1.0+3656+f80bfa1d
1.0.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-pg-doc<1.0.0-2.module+el8.1.0+3656+f80bfa1d
1.0.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-psych<3.0.2-107.module+el8.4.0+10822+fe4fffb1
3.0.2-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-psych<3.0.2-107.module+el8.4.0+10822+fe4fffb1
3.0.2-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-psych-debuginfo<3.0.2-107.module+el8.4.0+10822+fe4fffb1
3.0.2-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-psych-debuginfo<3.0.2-107.module+el8.4.0+10822+fe4fffb1
3.0.2-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-rake<12.3.3-107.module+el8.4.0+10822+fe4fffb1
12.3.3-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-rdoc<6.0.1.1-107.module+el8.4.0+10822+fe4fffb1
6.0.1.1-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-test-unit<3.2.7-107.module+el8.4.0+10822+fe4fffb1
3.2.7-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-xmlrpc<0.3.0-107.module+el8.4.0+10822+fe4fffb1
0.3.0-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygems<2.7.6.3-107.module+el8.4.0+10822+fe4fffb1
2.7.6.3-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygems-devel<2.7.6.3-107.module+el8.4.0+10822+fe4fffb1
2.7.6.3-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-bson-debuginfo<4.3.0-2.module+el8.1.0+3656+f80bfa1d
4.3.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-bson-debugsource<4.3.0-2.module+el8.1.0+3656+f80bfa1d
4.3.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-mysql2-debuginfo<0.4.10-4.module+el8.1.0+3656+f80bfa1d
0.4.10-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-mysql2-debugsource<0.4.10-4.module+el8.1.0+3656+f80bfa1d
0.4.10-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-pg-debuginfo<1.0.0-2.module+el8.1.0+3656+f80bfa1d
1.0.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-pg-debugsource<1.0.0-2.module+el8.1.0+3656+f80bfa1d
1.0.0-2.module+el8.1.0+3656+f80bfa1d
redhat/ruby<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-debuginfo<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-debugsource<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-devel<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-libs<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby-libs-debuginfo<2.5.9-107.module+el8.4.0+10822+fe4fffb1
2.5.9-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-bigdecimal<1.3.4-107.module+el8.4.0+10822+fe4fffb1
1.3.4-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-bigdecimal-debuginfo<1.3.4-107.module+el8.4.0+10822+fe4fffb1
1.3.4-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-bson<4.3.0-2.module+el8.1.0+3656+f80bfa1d
4.3.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-bson-debuginfo<4.3.0-2.module+el8.1.0+3656+f80bfa1d
4.3.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-bson-debugsource<4.3.0-2.module+el8.1.0+3656+f80bfa1d
4.3.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-io-console<0.4.6-107.module+el8.4.0+10822+fe4fffb1
0.4.6-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-io-console-debuginfo<0.4.6-107.module+el8.4.0+10822+fe4fffb1
0.4.6-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-json<2.1.0-107.module+el8.4.0+10822+fe4fffb1
2.1.0-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-json-debuginfo<2.1.0-107.module+el8.4.0+10822+fe4fffb1
2.1.0-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-mysql2<0.4.10-4.module+el8.1.0+3656+f80bfa1d
0.4.10-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-mysql2-debuginfo<0.4.10-4.module+el8.1.0+3656+f80bfa1d
0.4.10-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-mysql2-debugsource<0.4.10-4.module+el8.1.0+3656+f80bfa1d
0.4.10-4.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-openssl<2.1.2-107.module+el8.4.0+10822+fe4fffb1
2.1.2-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-openssl-debuginfo<2.1.2-107.module+el8.4.0+10822+fe4fffb1
2.1.2-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-pg<1.0.0-2.module+el8.1.0+3656+f80bfa1d
1.0.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-pg-debuginfo<1.0.0-2.module+el8.1.0+3656+f80bfa1d
1.0.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-pg-debugsource<1.0.0-2.module+el8.1.0+3656+f80bfa1d
1.0.0-2.module+el8.1.0+3656+f80bfa1d
redhat/rubygem-psych<3.0.2-107.module+el8.4.0+10822+fe4fffb1
3.0.2-107.module+el8.4.0+10822+fe4fffb1
redhat/rubygem-psych-debuginfo<3.0.2-107.module+el8.4.0+10822+fe4fffb1
3.0.2-107.module+el8.4.0+10822+fe4fffb1
redhat/ruby<2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/ruby-debuginfo<2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/ruby-debugsource<2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/ruby-devel<2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/ruby-libs<2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/ruby-libs-debuginfo<2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
2.5.9-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/rubygem-bigdecimal<1.3.4-107.module+el8.4.0+10822+fe4fffb1.aa
1.3.4-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/rubygem-bigdecimal-debuginfo<1.3.4-107.module+el8.4.0+10822+fe4fffb1.aa
1.3.4-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/rubygem-bson<4.3.0-2.module+el8.1.0+3656+f80bfa1d.aa
4.3.0-2.module+el8.1.0+3656+f80bfa1d.aa
redhat/rubygem-bson-debuginfo<4.3.0-2.module+el8.1.0+3656+f80bfa1d.aa
4.3.0-2.module+el8.1.0+3656+f80bfa1d.aa
redhat/rubygem-bson-debugsource<4.3.0-2.module+el8.1.0+3656+f80bfa1d.aa
4.3.0-2.module+el8.1.0+3656+f80bfa1d.aa
redhat/rubygem-io-console<0.4.6-107.module+el8.4.0+10822+fe4fffb1.aa
0.4.6-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/rubygem-io-console-debuginfo<0.4.6-107.module+el8.4.0+10822+fe4fffb1.aa
0.4.6-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/rubygem-json<2.1.0-107.module+el8.4.0+10822+fe4fffb1.aa
2.1.0-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/rubygem-json-debuginfo<2.1.0-107.module+el8.4.0+10822+fe4fffb1.aa
2.1.0-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/rubygem-mysql2<0.4.10-4.module+el8.1.0+3656+f80bfa1d.aa
0.4.10-4.module+el8.1.0+3656+f80bfa1d.aa
redhat/rubygem-mysql2-debuginfo<0.4.10-4.module+el8.1.0+3656+f80bfa1d.aa
0.4.10-4.module+el8.1.0+3656+f80bfa1d.aa
redhat/rubygem-mysql2-debugsource<0.4.10-4.module+el8.1.0+3656+f80bfa1d.aa
0.4.10-4.module+el8.1.0+3656+f80bfa1d.aa
redhat/rubygem-openssl<2.1.2-107.module+el8.4.0+10822+fe4fffb1.aa
2.1.2-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/rubygem-openssl-debuginfo<2.1.2-107.module+el8.4.0+10822+fe4fffb1.aa
2.1.2-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/rubygem-pg<1.0.0-2.module+el8.1.0+3656+f80bfa1d.aa
1.0.0-2.module+el8.1.0+3656+f80bfa1d.aa
redhat/rubygem-pg-debuginfo<1.0.0-2.module+el8.1.0+3656+f80bfa1d.aa
1.0.0-2.module+el8.1.0+3656+f80bfa1d.aa
redhat/rubygem-pg-debugsource<1.0.0-2.module+el8.1.0+3656+f80bfa1d.aa
1.0.0-2.module+el8.1.0+3656+f80bfa1d.aa
redhat/rubygem-psych<3.0.2-107.module+el8.4.0+10822+fe4fffb1.aa
3.0.2-107.module+el8.4.0+10822+fe4fffb1.aa
redhat/rubygem-psych-debuginfo<3.0.2-107.module+el8.4.0+10822+fe4fffb1.aa
3.0.2-107.module+el8.4.0+10822+fe4fffb1.aa

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203