RHSA-2020:0591MediumCVSS 7.8

Red Hat Security Advisory: ruby security update

Published
February 25, 2020
Last Modified
November 7, 2026

🔗 CVE IDs covered (9)

📋 Description

CVE-2018-8777 — ruby: DoS by large request in WEBrick CVE-2018-8780 — ruby: Unintentional directory traversal by poisoned NULL byte in Dir CVE-2018-1000073 — rubygems: Path traversal when writing to a symlinked basedir outside of the root CVE-2018-1000074 — rubygems: Unsafe Object Deserialization Vulnerability in gem owner allowing arbitrary code execution on specially crafted YAML CVE-2018-1000075 — rubygems: Infinite loop vulnerability due to negative size in tar header causes Denial of Service CVE-2018-1000076 — rubygems: Improper verification of signatures in tarball allows to install mis-signed gem CVE-2018-1000077 — rubygems: Missing URL validation on spec home attribute allows malicious gem to set an invalid homepage URL CVE-2018-1000078 — rubygems: XSS vulnerability in homepage attribute when displayed via gem server CVE-2018-1000079 — rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations

🎯 Affected products76

  • Red Hat Enterprise Linux Server AUS (v. 7.4)
  • Red Hat Enterprise Linux Server E4S (v. 7.4)
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.4)
  • Red Hat Enterprise Linux Server Optional E4S (v. 7.4)
  • Red Hat Enterprise Linux Server Optional TUS (v. 7.4)
  • Red Hat Enterprise Linux Server TUS (v. 7.4)
  • ruby-0:2.0.0.648-35.el7_4.ppc64le as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
  • ruby-0:2.0.0.648-35.el7_4.src as a component of Red Hat Enterprise Linux Server AUS (v. 7.4)
  • ruby-0:2.0.0.648-35.el7_4.src as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
  • ruby-0:2.0.0.648-35.el7_4.src as a component of Red Hat Enterprise Linux Server TUS (v. 7.4)
  • ruby-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server AUS (v. 7.4)
  • ruby-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
  • ruby-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server TUS (v. 7.4)
  • ruby-debuginfo-0:2.0.0.648-35.el7_4.i686 as a component of Red Hat Enterprise Linux Server AUS (v. 7.4)
  • ruby-debuginfo-0:2.0.0.648-35.el7_4.i686 as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
  • ruby-debuginfo-0:2.0.0.648-35.el7_4.i686 as a component of Red Hat Enterprise Linux Server TUS (v. 7.4)
  • ruby-debuginfo-0:2.0.0.648-35.el7_4.ppc64le as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
  • ruby-debuginfo-0:2.0.0.648-35.el7_4.ppc64le as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.4)
  • ruby-debuginfo-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server AUS (v. 7.4)
  • ruby-debuginfo-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
  • ruby-debuginfo-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server Optional AUS (v. 7.4)
  • ruby-debuginfo-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.4)
  • ruby-debuginfo-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server Optional TUS (v. 7.4)
  • ruby-debuginfo-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server TUS (v. 7.4)
  • ruby-devel-0:2.0.0.648-35.el7_4.ppc64le as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.4)
  • ruby-devel-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server Optional AUS (v. 7.4)
  • ruby-devel-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.4)
  • ruby-devel-0:2.0.0.648-35.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server Optional TUS (v. 7.4)
  • ruby-doc-0:2.0.0.648-35.el7_4.noarch as a component of Red Hat Enterprise Linux Server Optional AUS (v. 7.4)
  • ruby-doc-0:2.0.0.648-35.el7_4.noarch as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.4)
  • +46 more not shown

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: It is possible to test for presence of the NULL byte manually prior to call a Dir method with an untrusted string.

🔗 References (12)