ADVISORIES

Rocky Linux Security Advisory

RLSA-2021:2588

Moderate: ruby:2.6 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.

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#read_nonblock 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 [Rocky Linux-8] (BZ#1954968)

Affected packages

EcosystemPackageAffected versions
Rocky Linux:8ruby
All versions before 0:2.6.7-107.module+el8.4.0+593+8d7f9f0c (fixed in 0:2.6.7-107.module+el8.4.0+593+8d7f9f0c)
Rocky Linux:8rubygem-abrt
All versions before 0:0.3.0-4.module+el8.5.0+738+032c9c02 (fixed in 0:0.3.0-4.module+el8.5.0+738+032c9c02)
Rocky Linux:8rubygem-abrt
All versions before 0:0.3.0-4.module+el8.3.0+167+5c390590 (fixed in 0:0.3.0-4.module+el8.3.0+167+5c390590)
Rocky Linux:8rubygem-abrt
All versions before 0:0.3.0-4.module+el8.4.0+592+03ff458a (fixed in 0:0.3.0-4.module+el8.4.0+592+03ff458a)
Rocky Linux:8rubygem-bson
All versions before 0:4.5.0-1.module+el8.4.0+593+8d7f9f0c (fixed in 0:4.5.0-1.module+el8.4.0+593+8d7f9f0c)
Rocky Linux:8rubygem-bson
All versions before 0:4.5.0-1.module+el8.4.0+446+80b53620 (fixed in 0:4.5.0-1.module+el8.4.0+446+80b53620)
Rocky Linux:8rubygem-mongo
All versions before 0:2.8.0-1.module+el8.4.0+593+8d7f9f0c (fixed in 0:2.8.0-1.module+el8.4.0+593+8d7f9f0c)
Rocky Linux:8rubygem-mongo
All versions before 0:2.8.0-1.module+el8.4.0+446+80b53620 (fixed in 0:2.8.0-1.module+el8.4.0+446+80b53620)
Rocky Linux:8rubygem-mysql2
All versions before 0:0.5.2-1.module+el8.5.0+738+032c9c02 (fixed in 0:0.5.2-1.module+el8.5.0+738+032c9c02)
Rocky Linux:8rubygem-mysql2
All versions before 0:0.5.2-1.module+el8.4.0+446+80b53620 (fixed in 0:0.5.2-1.module+el8.4.0+446+80b53620)
Rocky Linux:8rubygem-mysql2
All versions before 0:0.5.2-1.module+el8.4.0+593+8d7f9f0c (fixed in 0:0.5.2-1.module+el8.4.0+593+8d7f9f0c)
Rocky Linux:8rubygem-pg
All versions before 0:1.1.4-1.module+el8.5.0+738+032c9c02 (fixed in 0:1.1.4-1.module+el8.5.0+738+032c9c02)
Rocky Linux:8rubygem-pg
All versions before 0:1.1.4-1.module+el8.4.0+446+80b53620 (fixed in 0:1.1.4-1.module+el8.4.0+446+80b53620)
Rocky Linux:8rubygem-pg
All versions before 0:1.1.4-1.module+el8.4.0+593+8d7f9f0c (fixed in 0:1.1.4-1.module+el8.4.0+593+8d7f9f0c)

References