Red Hat Security Advisory: ruby security update
🔗 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 products78
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.5)
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5)
- Red Hat Enterprise Linux Server EUS (v. 7.5)
- Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
- ruby-0:2.0.0.648-35.el7_5.ppc64 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-0:2.0.0.648-35.el7_5.ppc64le as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-0:2.0.0.648-35.el7_5.s390x as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-0:2.0.0.648-35.el7_5.src as a component of Red Hat Enterprise Linux ComputeNode EUS (v. 7.5)
- ruby-0:2.0.0.648-35.el7_5.src as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-0:2.0.0.648-35.el7_5.x86_64 as a component of Red Hat Enterprise Linux ComputeNode EUS (v. 7.5)
- ruby-0:2.0.0.648-35.el7_5.x86_64 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.i686 as a component of Red Hat Enterprise Linux ComputeNode EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.i686 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.ppc as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.ppc64 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.ppc64 as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.ppc64le as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.ppc64le as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.s390 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.s390x as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.s390x as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.x86_64 as a component of Red Hat Enterprise Linux ComputeNode EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.x86_64 as a component of Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.x86_64 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
- ruby-debuginfo-0:2.0.0.648-35.el7_5.x86_64 as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
- ruby-devel-0:2.0.0.648-35.el7_5.ppc64 as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
- ruby-devel-0:2.0.0.648-35.el7_5.ppc64le as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
- ruby-devel-0:2.0.0.648-35.el7_5.s390x as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
- ruby-devel-0:2.0.0.648-35.el7_5.x86_64 as a component of Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5)
- ruby-devel-0:2.0.0.648-35.el7_5.x86_64 as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
- +48 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)
- selfhttps://access.redhat.com/errata/RHSA-2020:0542
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1547418
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1547419
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1547420
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1547421
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1547422
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1547425
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1547426
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1561949
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1561950
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_0542.json