Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 526
Alerts This Week
Warning Icon 1 526

RedHat 8: RHSA-2022-0543 Important: Ruby:2.6 Command Injection Fix

red hat
Calendar Grey February 16, 2022
Dist Redhat Esm H88
Crucial ruby:2.6 security patch addresses command injection and various security flaws for Red Hat Enterprise Linux.
An update for the ruby:2.6 module is now available for Red Hat Enterprise Linux 8

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Summary

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-bundler: Dependencies of gems with explicit source may be installed from a different source (CVE-2020-36327)
* 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)
* ruby: Regular expression denial of service vulnerability of Date parsing methods (CVE-2021-41817)
* ruby: Cookie prefix spoofing in CGI::Cookie.parse (CVE-2021-41819)
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.

References

https://access.redhat.com/security/cve/CVE-2020-36327 https://access.redhat.com/security/cve/CVE-2021-31799 https://access.redhat.com/security/cve/CVE-2021-31810 https://access.redhat.com/security/cve/CVE-2021-32066 https://access.redhat.com/security/cve/CVE-2021-41817 https://access.redhat.com/security/cve/CVE-2021-41819 https://access.redhat.com/security/updates/classification/#important https://access.redhat.com/articles/6206172

Package List

Red Hat Enterprise Linux AppStream (v. 8):
Source: ruby-2.6.9-108.module+el8.5.0+13719+08a8ba32.src.rpm rubygem-abrt-0.3.0-4.module+el8.1.0+3653+beb38eb0.src.rpm rubygem-bson-4.5.0-1.module+el8.1.0+3653+beb38eb0.src.rpm rubygem-mongo-2.8.0-1.module+el8.1.0+3653+beb38eb0.src.rpm rubygem-mysql2-0.5.2-1.module+el8.1.0+3653+beb38eb0.src.rpm rubygem-pg-1.1.4-1.module+el8.1.0+3653+beb38eb0.src.rpm
aarch64: ruby-2.6.9-108.module+el8.5.0+13719+08a8ba32.aarch64.rpm ruby-debuginfo-2.6.9-108.module+el8.5.0+13719+08a8ba32.aarch64.rpm ruby-debugsource-2.6.9-108.module+el8.5.0+13719+08a8ba32.aarch64.rpm ruby-devel-2.6.9-108.module+el8.5.0+13719+08a8ba32.aarch64.rpm ruby-libs-2.6.9-108.module+el8.5.0+13719+08a8ba32.aarch64.rpm ruby-libs-debuginfo-2.6.9-108.module+el8.5.0+13719+08a8ba32.aarch64.rpm rubygem-bigdecimal-1.4.1-108.module+el8.5.0+13719+08a8ba32.aarch64.rpm rubygem-bigdecimal-debuginfo-1.4.1-108.module+el8.5.0+13719+08a8ba32.aarch64.rpm rubygem-bson-4.5.0-1.module+el8.1.0+3653+beb38eb0.aarch64.rpm rubygem-bson-debuginfo-4.5.0-1.module+el8.1.0+3653+beb38eb0.aarch64.rpm rubygem-bson-debugsource-4.5.0-1.module+el8.1.0+3653+beb38eb0.aarch64.rpm rubygem-io-console-0.4.7-108.module+el8.5.0+13719+08a8ba32.aarch64.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2022:0543-01
Product: Red Hat Enterprise Linux
Issue date: 2022-02-16

Topic

An update for the ruby:2.6 module is now available for Red Hat EnterpriseLinux 8.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux AppStream (v. 8) - aarch64, noarch, ppc64le, s390x, x86_64

Bugs Fixed

1958999 - CVE-2020-36327 rubygem-bundler: Dependencies of gems with explicit source may be installed from a different source

1980126 - CVE-2021-31810 ruby: FTP PASV command response can cause Net::FTP to connect to arbitrary host

1980128 - CVE-2021-32066 ruby: StartTLS stripping vulnerability in Net::IMAP

1980132 - CVE-2021-31799 rubygem-rdoc: Command injection vulnerability in RDoc

2025104 - CVE-2021-41817 ruby: Regular expression denial of service vulnerability of Date parsing methods

2026757 - CVE-2021-41819 ruby: Cookie prefix spoofing in CGI::Cookie.parse

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.