RHSA-2020:2212MediumCVSS 4.8
Red Hat Security Advisory: ruby security update
🔗 CVE IDs covered (2)
📋 Description
CVE-2017-17742 — ruby: HTTP response splitting in WEBrick CVE-2018-8778 — ruby: Buffer under-read in String#unpack
🎯 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-36.el7_4.ppc64le as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
- ruby-0:2.0.0.648-36.el7_4.src as a component of Red Hat Enterprise Linux Server AUS (v. 7.4)
- ruby-0:2.0.0.648-36.el7_4.src as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
- ruby-0:2.0.0.648-36.el7_4.src as a component of Red Hat Enterprise Linux Server TUS (v. 7.4)
- ruby-0:2.0.0.648-36.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server AUS (v. 7.4)
- ruby-0:2.0.0.648-36.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
- ruby-0:2.0.0.648-36.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server TUS (v. 7.4)
- ruby-debuginfo-0:2.0.0.648-36.el7_4.i686 as a component of Red Hat Enterprise Linux Server AUS (v. 7.4)
- ruby-debuginfo-0:2.0.0.648-36.el7_4.i686 as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
- ruby-debuginfo-0:2.0.0.648-36.el7_4.i686 as a component of Red Hat Enterprise Linux Server TUS (v. 7.4)
- ruby-debuginfo-0:2.0.0.648-36.el7_4.ppc64le as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
- ruby-debuginfo-0:2.0.0.648-36.el7_4.ppc64le as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.4)
- ruby-debuginfo-0:2.0.0.648-36.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server AUS (v. 7.4)
- ruby-debuginfo-0:2.0.0.648-36.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server E4S (v. 7.4)
- ruby-debuginfo-0:2.0.0.648-36.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-36.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-36.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-36.el7_4.x86_64 as a component of Red Hat Enterprise Linux Server TUS (v. 7.4)
- ruby-devel-0:2.0.0.648-36.el7_4.ppc64le as a component of Red Hat Enterprise Linux Server Optional E4S (v. 7.4)
- ruby-devel-0:2.0.0.648-36.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-36.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-36.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-36.el7_4.noarch as a component of Red Hat Enterprise Linux Server Optional AUS (v. 7.4)
- ruby-doc-0:2.0.0.648-36.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: The server can manually sanitize possibly untrusted headers prior to inserting them in the reply. Workaround: Vulnerable code when String#unpack's argument is attacker controlled. In the unpack format string argemument, manual sanitization can be done by preventing the number following '@' to overflow to a negative number. See https://dev.to/sqreenio/an-in-depth-look-at-cve-2018-8878-or-why-integer-overflows-are-still-a-thing-1n01 for mitigation details.
🔗 References (5)
- selfhttps://access.redhat.com/errata/RHSA-2020:2212
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1561952
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1561953
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_2212.json