RHSA-2020:1963MediumCVSS 4.8

Red Hat Security Advisory: ruby security update

Published
April 29, 2020
Last Modified
November 7, 2026

🔗 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 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-36.el7_5.ppc64 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-0:2.0.0.648-36.el7_5.ppc64le as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-0:2.0.0.648-36.el7_5.s390x as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-0:2.0.0.648-36.el7_5.src as a component of Red Hat Enterprise Linux ComputeNode EUS (v. 7.5)
  • ruby-0:2.0.0.648-36.el7_5.src as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-0:2.0.0.648-36.el7_5.x86_64 as a component of Red Hat Enterprise Linux ComputeNode EUS (v. 7.5)
  • ruby-0:2.0.0.648-36.el7_5.x86_64 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.el7_5.i686 as a component of Red Hat Enterprise Linux ComputeNode EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.el7_5.i686 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.el7_5.ppc as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.el7_5.ppc64 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.el7_5.ppc64 as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.el7_5.ppc64le as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.el7_5.ppc64le as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.el7_5.s390 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.el7_5.s390x as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.el7_5.s390x as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.el7_5.x86_64 as a component of Red Hat Enterprise Linux ComputeNode EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.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-36.el7_5.x86_64 as a component of Red Hat Enterprise Linux Server EUS (v. 7.5)
  • ruby-debuginfo-0:2.0.0.648-36.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-36.el7_5.ppc64 as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
  • ruby-devel-0:2.0.0.648-36.el7_5.ppc64le as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
  • ruby-devel-0:2.0.0.648-36.el7_5.s390x as a component of Red Hat Enterprise Linux Server Optional EUS (v. 7.5)
  • ruby-devel-0:2.0.0.648-36.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-36.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: 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)