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

×
Alerts This Week
Warning Icon 1 433
Alerts This Week
Warning Icon 1 433

RedHat: RHSA-2019-2028-01 Moderate: Ruby DoS and Exploits

red hat
Calendar Grey August 6, 2019
Dist Redhat Esm H88
Canonical issues a significant security patch for Python correcting multiple vulnerabilities. Essential for maintaining system security and reliability.
An update for ruby is now available for Red Hat Enterprise Linux 7

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):
* ruby: HTTP response splitting in WEBrick (CVE-2017-17742)
* ruby: DoS by large request in WEBrick (CVE-2018-8777)
* ruby: Buffer under-read in String#unpack (CVE-2018-8778)
* ruby: Unintentional directory traversal by poisoned NULL byte in Dir (CVE-2018-8780)
* ruby: Tainted flags are not propagated in Array#pack and String#unpack with some directives (CVE-2018-16396)
* rubygems: Path traversal when writing to a symlinked basedir outside of the root (CVE-2018-1000073)
* rubygems: Unsafe Object Deserialization Vulnerability in gem owner allowing arbitrary code execution on specially crafted YAML (CVE-2018-1000074)
* rubygems: Improper verification of signatures in tarball allows to install mis-signed gem (CVE-2018-1000076)
* rubygems: Missing URL validation on spec home attribute allows malicious gem to set an invalid homepage URL (CVE-2018-1000077)
* rubygems: XSS vulnerability in homepage attribute when displayed via gem server (CVE-2018-1000078)
* rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations (CVE-2018-1000079)
* ruby: Unintentional file and directory creation with directory traversal in tempfile and tmpdir (CVE-2018-6914)
* ruby: Unintentional socket creation by poisoned NULL byte in UNIXServer and UNIXSocket (CVE-2018-8779)
* rubygems: Infinite loop vulnerability due to negative size in tar header causes Denial of Service (CVE-2018-1000075)
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.
Additional Changes:
For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.7 Release Notes linked from the References section.

References

https://access.redhat.com/security/cve/CVE-2017-17742 https://access.redhat.com/security/cve/CVE-2018-6914 https://access.redhat.com/security/cve/CVE-2018-8777 https://access.redhat.com/security/cve/CVE-2018-8778 https://access.redhat.com/security/cve/CVE-2018-8779 https://access.redhat.com/security/cve/CVE-2018-8780 https://access.redhat.com/security/cve/CVE-2018-16396 https://access.redhat.com/security/cve/CVE-2018-1000073 https://access.redhat.com/security/cve/CVE-2018-1000074 https://access.redhat.com/security/cve/CVE-2018-1000075 https://access.redhat.com/security/cve/CVE-2018-1000076 https://access.redhat.com/security/cve/CVE-2018-1000077 https://access.redhat.com/security/cve/CVE-2018-1000078 https://access.redhat.com/security/cve/CVE-2018-1000079 https://access.redhat.com/security/updates/classification/#moderate https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index

Package List

Red Hat Enterprise Linux Client (v. 7):
Source: ruby-2.0.0.648-36.el7.src.rpm
noarch: ruby-irb-2.0.0.648-36.el7.noarch.rpm rubygem-rdoc-4.0.0-36.el7.noarch.rpm rubygems-2.0.14.1-36.el7.noarch.rpm
x86_64: ruby-2.0.0.648-36.el7.x86_64.rpm ruby-debuginfo-2.0.0.648-36.el7.i686.rpm ruby-debuginfo-2.0.0.648-36.el7.x86_64.rpm ruby-libs-2.0.0.648-36.el7.i686.rpm ruby-libs-2.0.0.648-36.el7.x86_64.rpm rubygem-bigdecimal-1.2.0-36.el7.x86_64.rpm rubygem-io-console-0.4.2-36.el7.x86_64.rpm rubygem-json-1.7.7-36.el7.x86_64.rpm rubygem-psych-2.0.0-36.el7.x86_64.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
noarch: ruby-doc-2.0.0.648-36.el7.noarch.rpm rubygem-minitest-4.3.2-36.el7.noarch.rpm rubygem-rake-0.9.6-36.el7.noarch.rpm rubygems-devel-2.0.14.1-36.el7.noarch.rpm
x86_64: ruby-debuginfo-2.0.0.648-36.el7.x86_64.rpm ruby-devel-2.0.0.648-36.el7.x86_64.rpm ruby-tcltk-2.0.0.648-36.el7.x86_64.rpm
Red Hat Enterprise Linux ComputeNode (v. 7):
Source: ruby-2.0.0.648-36.el7.src.rpm
noarch: ruby-irb-2.0.0.648-36.el7.noarch.rpm rubygem-rdoc-4.0.0-36.el7.noarch.rpm rubygems-2.0.14.1-36.el7.noarch.rpm
x86_64: ruby-2.0.0.648-36.el7.x86_64.rpm ruby-debuginfo-2.0.0.648-36.el7.i686.rpm ruby-debuginfo-2.0.0.648-36.el7.x86_64.rpm ruby-libs-2.0.0.648-36.el7.i686.rpm

Read the Full Advisory


Advisory ID: RHSA-2019:2028-01
Product: Red Hat Enterprise Linux
Issue date: 2019-08-06

Topic

An update for ruby is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Client (v. 7) - noarch, x86_64

Red Hat Enterprise Linux Client Optional (v. 7) - noarch, x86_64

Red Hat Enterprise Linux ComputeNode (v. 7) - noarch, x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - noarch, x86_64

Red Hat Enterprise Linux Server (v. 7) - noarch, ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 7) - noarch, ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - noarch, x86_64

Red Hat Enterprise Linux Workstation Optional (v. 7) - noarch, x86_64

Bugs Fixed

1547418 - CVE-2018-1000073 rubygems: Path traversal when writing to a symlinked basedir outside of the root

1547419 - CVE-2018-1000074 rubygems: Unsafe Object Deserialization Vulnerability in gem owner allowing arbitrary code execution on specially crafted YAML

1547420 - CVE-2018-1000075 rubygems: Infinite loop vulnerability due to negative size in tar header causes Denial of Service

1547421 - CVE-2018-1000076 rubygems: Improper verification of signatures in tarball allows to install mis-signed gem

1547422 - CVE-2018-1000077 rubygems: Missing URL validation on spec home attribute allows malicious gem to set an invalid homepage URL

1547425 - CVE-2018-1000078 rubygems: XSS vulnerability in homepage attribute when displayed via gem server

1547426 - CVE-2018-1000079 rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations

1561947 - CVE-2018-6914 ruby: Unintentional file and directory creation with directory traversal in tempfile and tmpdir

1561948 - CVE-2018-8779 ruby: Unintentional socket creation by poisoned NULL byte in UNIXServer and UNIXSocket

1561949 - CVE-2018-8780 ruby: Unintentional directory traversal by poisoned NULL byte in Dir

1561950 - CVE-2018-8777 ruby: DoS by large request in WEBrick

1561952 - CVE-2017-17742 ruby: HTTP response splitting in WEBrick

1561953 - CVE-2018-8778 ruby: Buffer under-read in String#unpack

Read the Full Advisory

Get the latest News and Insights

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