ADVISORIES

AlmaLinux Security Advisory

ALSA-2022:0672

Moderate: ruby:2.5 security update

Details

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.

Security Fix(es):

  • rubygem-rdoc: Command injection vulnerability in RDoc (CVE-2021-31799)
  • ruby: FTP PASV command response can cause Net::FTP to connect to arbitrary host (CVE-2021-31810)
  • ruby: StartTLS stripping vulnerability in Net::IMAP (CVE-2021-32066)

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 packages

EcosystemPackageAffected versions
AlmaLinux:8ruby
All versions before 2.5.9-109.module_el8.5.0+2627+d9c243ca (fixed in 2.5.9-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8ruby
All versions before 2.5.9-109.module_el8.5.0+259+8cec6917 (fixed in 2.5.9-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8ruby-devel
All versions before 2.5.9-109.module_el8.5.0+2627+d9c243ca (fixed in 2.5.9-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8ruby-devel
All versions before 2.5.9-109.module_el8.5.0+259+8cec6917 (fixed in 2.5.9-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8ruby-doc
All versions before 2.5.9-109.module_el8.5.0+2627+d9c243ca (fixed in 2.5.9-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8ruby-doc
All versions before 2.5.9-109.module_el8.5.0+259+8cec6917 (fixed in 2.5.9-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8ruby-irb
All versions before 2.5.9-109.module_el8.5.0+259+8cec6917 (fixed in 2.5.9-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8ruby-irb
All versions before 2.5.9-109.module_el8.5.0+2627+d9c243ca (fixed in 2.5.9-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8ruby-libs
All versions before 2.5.9-109.module_el8.5.0+2627+d9c243ca (fixed in 2.5.9-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8ruby-libs
All versions before 2.5.9-109.module_el8.5.0+259+8cec6917 (fixed in 2.5.9-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-abrt
All versions before 0.3.0-4.module_el8.5.0+2625+ec418553 (fixed in 0.3.0-4.module_el8.5.0+2625+ec418553)
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+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+2625+ec418553 (fixed in 0.3.0-4.module_el8.5.0+2625+ec418553)
AlmaLinux:8rubygem-bigdecimal
All versions before 1.3.4-109.module_el8.5.0+2627+d9c243ca (fixed in 1.3.4-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-bigdecimal
All versions before 1.3.4-109.module_el8.5.0+259+8cec6917 (fixed in 1.3.4-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-bson
All versions before 4.3.0-2.module_el8.5.0+2625+ec418553 (fixed in 4.3.0-2.module_el8.5.0+2625+ec418553)
AlmaLinux:8rubygem-bson
All versions before 4.3.0-2.module_el8.5.0+259+8cec6917 (fixed in 4.3.0-2.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-bson-doc
All versions before 4.3.0-2.module_el8.5.0+2625+ec418553 (fixed in 4.3.0-2.module_el8.5.0+2625+ec418553)
AlmaLinux:8rubygem-bundler
All versions before 1.16.1-4.module_el8.5.0+2625+ec418553 (fixed in 1.16.1-4.module_el8.5.0+2625+ec418553)
AlmaLinux:8rubygem-bundler-doc
All versions before 1.16.1-4.module_el8.5.0+2625+ec418553 (fixed in 1.16.1-4.module_el8.5.0+2625+ec418553)
AlmaLinux:8rubygem-did_you_mean
All versions before 1.2.0-109.module_el8.5.0+2627+d9c243ca (fixed in 1.2.0-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-did_you_mean
All versions before 1.2.0-109.module_el8.5.0+259+8cec6917 (fixed in 1.2.0-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-io-console
All versions before 0.4.6-109.module_el8.5.0+259+8cec6917 (fixed in 0.4.6-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-io-console
All versions before 0.4.6-109.module_el8.5.0+2627+d9c243ca (fixed in 0.4.6-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-json
All versions before 2.1.0-109.module_el8.5.0+2627+d9c243ca (fixed in 2.1.0-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-json
All versions before 2.1.0-109.module_el8.5.0+259+8cec6917 (fixed in 2.1.0-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-minitest
All versions before 5.10.3-109.module_el8.5.0+259+8cec6917 (fixed in 5.10.3-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-minitest
All versions before 5.10.3-109.module_el8.5.0+2627+d9c243ca (fixed in 5.10.3-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-mongo
All versions before 2.5.1-2.module_el8.5.0+2625+ec418553 (fixed in 2.5.1-2.module_el8.5.0+2625+ec418553)
AlmaLinux:8rubygem-mongo-doc
All versions before 2.5.1-2.module_el8.5.0+2625+ec418553 (fixed in 2.5.1-2.module_el8.5.0+2625+ec418553)
AlmaLinux:8rubygem-mysql2
All versions before 0.4.10-4.module_el8.5.0+259+8cec6917 (fixed in 0.4.10-4.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-mysql2
All versions before 0.4.10-4.module_el8.5.0+2625+ec418553 (fixed in 0.4.10-4.module_el8.5.0+2625+ec418553)
AlmaLinux:8rubygem-mysql2-doc
All versions before 0.4.10-4.module_el8.5.0+2625+ec418553 (fixed in 0.4.10-4.module_el8.5.0+2625+ec418553)
AlmaLinux:8rubygem-net-telnet
All versions before 0.1.1-109.module_el8.5.0+259+8cec6917 (fixed in 0.1.1-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-net-telnet
All versions before 0.1.1-109.module_el8.5.0+2627+d9c243ca (fixed in 0.1.1-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-openssl
All versions before 2.1.2-109.module_el8.5.0+2627+d9c243ca (fixed in 2.1.2-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-openssl
All versions before 2.1.2-109.module_el8.5.0+259+8cec6917 (fixed in 2.1.2-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-pg
All versions before 1.0.0-2.module_el8.5.0+2625+ec418553 (fixed in 1.0.0-2.module_el8.5.0+2625+ec418553)
AlmaLinux:8rubygem-pg
All versions before 1.0.0-2.module_el8.5.0+259+8cec6917 (fixed in 1.0.0-2.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-pg-doc
All versions before 1.0.0-2.module_el8.5.0+2625+ec418553 (fixed in 1.0.0-2.module_el8.5.0+2625+ec418553)
AlmaLinux:8rubygem-power_assert
All versions before 1.1.1-109.module_el8.5.0+2627+d9c243ca (fixed in 1.1.1-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-power_assert
All versions before 1.1.1-109.module_el8.5.0+259+8cec6917 (fixed in 1.1.1-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-psych
All versions before 3.0.2-109.module_el8.5.0+2627+d9c243ca (fixed in 3.0.2-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-psych
All versions before 3.0.2-109.module_el8.5.0+259+8cec6917 (fixed in 3.0.2-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-rake
All versions before 12.3.3-109.module_el8.5.0+2627+d9c243ca (fixed in 12.3.3-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-rdoc
All versions before 6.0.1.1-109.module_el8.5.0+259+8cec6917 (fixed in 6.0.1.1-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-rdoc
All versions before 6.0.1.1-109.module_el8.5.0+2627+d9c243ca (fixed in 6.0.1.1-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-test-unit
All versions before 3.2.7-109.module_el8.5.0+2627+d9c243ca (fixed in 3.2.7-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygem-test-unit
All versions before 3.2.7-109.module_el8.5.0+259+8cec6917 (fixed in 3.2.7-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygem-xmlrpc
All versions before 0.3.0-109.module_el8.5.0+2627+d9c243ca (fixed in 0.3.0-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygems
All versions before 2.7.6.3-109.module_el8.5.0+2627+d9c243ca (fixed in 2.7.6.3-109.module_el8.5.0+2627+d9c243ca)
AlmaLinux:8rubygems
All versions before 2.7.6.3-109.module_el8.5.0+259+8cec6917 (fixed in 2.7.6.3-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygems-devel
All versions before 2.7.6.3-109.module_el8.5.0+259+8cec6917 (fixed in 2.7.6.3-109.module_el8.5.0+259+8cec6917)
AlmaLinux:8rubygems-devel
All versions before 2.7.6.3-109.module_el8.5.0+2627+d9c243ca (fixed in 2.7.6.3-109.module_el8.5.0+2627+d9c243ca)

References