RHSA-2020:2288MediumCVSS 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 products110
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.6)
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6)
- Red Hat Enterprise Linux Server EUS (v. 7.6)
- Red Hat Enterprise Linux Server Optional EUS (v. 7.6)
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7)
- ruby-0:2.0.0.648-37.el7_6.ppc64 as a component of Red Hat Enterprise Linux Server EUS (v. 7.6)
- ruby-0:2.0.0.648-37.el7_6.ppc64le as a component of Red Hat Enterprise Linux Server EUS (v. 7.6)
- ruby-0:2.0.0.648-37.el7_6.ppc64le as a component of Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)
- ruby-0:2.0.0.648-37.el7_6.s390x as a component of Red Hat Enterprise Linux Server EUS (v. 7.6)
- ruby-0:2.0.0.648-37.el7_6.s390x as a component of Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)
- ruby-0:2.0.0.648-37.el7_6.src as a component of Red Hat Enterprise Linux ComputeNode EUS (v. 7.6)
- ruby-0:2.0.0.648-37.el7_6.src as a component of Red Hat Enterprise Linux Server EUS (v. 7.6)
- ruby-0:2.0.0.648-37.el7_6.src as a component of Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)
- ruby-0:2.0.0.648-37.el7_6.x86_64 as a component of Red Hat Enterprise Linux ComputeNode EUS (v. 7.6)
- ruby-0:2.0.0.648-37.el7_6.x86_64 as a component of Red Hat Enterprise Linux Server EUS (v. 7.6)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.i686 as a component of Red Hat Enterprise Linux ComputeNode EUS (v. 7.6)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.i686 as a component of Red Hat Enterprise Linux Server EUS (v. 7.6)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.ppc as a component of Red Hat Enterprise Linux Server EUS (v. 7.6)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.ppc64 as a component of Red Hat Enterprise Linux Server EUS (v. 7.6)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.ppc64 as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.6)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.ppc64le as a component of Red Hat Enterprise Linux Server EUS (v. 7.6)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.ppc64le as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.6)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.ppc64le as a component of Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.ppc64le as a component of Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.s390 as a component of Red Hat Enterprise Linux Server EUS (v. 7.6)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.s390 as a component of Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.s390x as a component of Red Hat Enterprise Linux Server EUS (v. 7.6)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.s390x as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.6)
- ruby-debuginfo-0:2.0.0.648-37.el7_6.s390x as a component of Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)
- +80 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:2288
- 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_2288.json