ADVISORIES

AlmaLinux Security Advisory

ALSA-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 [almalinux-8] (BZ#1954968)

Affected packages

EcosystemPackageAffected versions
AlmaLinux:8rubygem-abrt
All versions before 0.3.0-4.module_el8.5.0+259+8cec6917 (fixed in 0.3.0-4.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-abrt
All versions before 0.3.0-4.module_el8.5.0+2623+08a8ba32 (fixed in 0.3.0-4.module_el8.5.0+2623+08a8ba32)
AlmaLinux:8rubygem-abrt-doc
All versions before 0.3.0-4.module_el8.5.0+259+8cec6917 (fixed in 0.3.0-4.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-abrt-doc
All versions before 0.3.0-4.module_el8.5.0+2623+08a8ba32 (fixed in 0.3.0-4.module_el8.5.0+2623+08a8ba32)
AlmaLinux:8rubygem-bson
All versions before 4.5.0-1.module_el8.5.0+2623+08a8ba32 (fixed in 4.5.0-1.module_el8.5.0+2623+08a8ba32)
AlmaLinux:8rubygem-bson
All versions before 4.5.0-1.module_el8.5.0+250+ba22dbf7 (fixed in 4.5.0-1.module_el8.5.0+250+ba22dbf7)
AlmaLinux:8rubygem-bson-doc
All versions before 4.5.0-1.module_el8.5.0+250+ba22dbf7 (fixed in 4.5.0-1.module_el8.5.0+250+ba22dbf7)
AlmaLinux:8rubygem-bson-doc
All versions before 4.5.0-1.module_el8.5.0+2623+08a8ba32 (fixed in 4.5.0-1.module_el8.5.0+2623+08a8ba32)
AlmaLinux:8rubygem-mongo
All versions before 2.8.0-1.module_el8.5.0+250+ba22dbf7 (fixed in 2.8.0-1.module_el8.5.0+250+ba22dbf7)
AlmaLinux:8rubygem-mongo
All versions before 2.8.0-1.module_el8.5.0+2623+08a8ba32 (fixed in 2.8.0-1.module_el8.5.0+2623+08a8ba32)
AlmaLinux:8rubygem-mongo-doc
All versions before 2.8.0-1.module_el8.5.0+250+ba22dbf7 (fixed in 2.8.0-1.module_el8.5.0+250+ba22dbf7)
AlmaLinux:8rubygem-mongo-doc
All versions before 2.8.0-1.module_el8.5.0+2623+08a8ba32 (fixed in 2.8.0-1.module_el8.5.0+2623+08a8ba32)
AlmaLinux:8rubygem-mysql2
All versions before 0.5.2-1.module_el8.5.0+250+ba22dbf7 (fixed in 0.5.2-1.module_el8.5.0+250+ba22dbf7)
AlmaLinux:8rubygem-mysql2
All versions before 0.5.2-1.module_el8.5.0+2623+08a8ba32 (fixed in 0.5.2-1.module_el8.5.0+2623+08a8ba32)
AlmaLinux:8rubygem-mysql2-doc
All versions before 0.5.2-1.module_el8.5.0+250+ba22dbf7 (fixed in 0.5.2-1.module_el8.5.0+250+ba22dbf7)
AlmaLinux:8rubygem-mysql2-doc
All versions before 0.5.2-1.module_el8.5.0+2623+08a8ba32 (fixed in 0.5.2-1.module_el8.5.0+2623+08a8ba32)
AlmaLinux:8rubygem-pg
All versions before 1.1.4-1.module_el8.5.0+250+ba22dbf7 (fixed in 1.1.4-1.module_el8.5.0+250+ba22dbf7)
AlmaLinux:8rubygem-pg
All versions before 1.1.4-1.module_el8.5.0+2623+08a8ba32 (fixed in 1.1.4-1.module_el8.5.0+2623+08a8ba32)
AlmaLinux:8rubygem-pg-doc
All versions before 1.1.4-1.module_el8.5.0+2623+08a8ba32 (fixed in 1.1.4-1.module_el8.5.0+2623+08a8ba32)
AlmaLinux:8rubygem-pg-doc
All versions before 1.1.4-1.module_el8.5.0+250+ba22dbf7 (fixed in 1.1.4-1.module_el8.5.0+250+ba22dbf7)

References