RHEL 7:ruby (RHSA-2020: 0663)

critical Nessus Plugin ID 134261

概要

遠端 Red Hat 主機缺少一個或多個安全性更新。

說明

遠端 Redhat Enterprise Linux 7 主機上安裝的套件受到 RHSA-2020: 0663 公告中提及的多個弱點影響。

- rubygems:寫入 root 外部符號連結的 basedir 時,發生路徑遊走 (CVE-2018-1000073)

- rubygems:gem 擁有者中發現不安全的物件還原序列化弱點,進而允許在特製的 YAML 上執行任意程式碼 (CVE-2018-1000074)

- rubygems:因為 tar 標頭中的負大小而導致的無限迴圈弱點可造成拒絕服務 (CVE-2018-1000075)

- rubygems:tarball 中的不當簽章驗證允許安裝簽署錯誤的 gem (CVE-2018-1000076)

- rubygems:規格首頁屬性缺少 URL 驗證可讓惡意 gem 設定無效的首頁 URL (CVE-2018-1000077)

- rubygems:透過 gem 伺服器顯示時,首頁屬性中發現 XSS 弱點 (CVE-2018-1000078)

- rubygems:gem 安裝期間發生的路徑周遊問題允許寫入任意檔案系統位置 (CVE-2018-1000079)

- ruby:WEBrick 中的大型要求導致 DoS (CVE-2018-8777)

- ruby:在 Dir 中,感染的 NULL 位元組造成非預定的目錄周遊 (CVE-2018-8780)

請注意,Nessus 並未測試這些問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

更新受影響的套件。

另請參閱

https://access.redhat.com/security/cve/CVE-2018-8777

https://access.redhat.com/security/cve/CVE-2018-8780

https://access.redhat.com/security/cve/CVE-2018-1000073

https://access.redhat.com/security/cve/CVE-2018-1000074

https://access.redhat.com/security/cve/CVE-2018-1000075

https://access.redhat.com/security/cve/CVE-2018-1000076

https://access.redhat.com/security/cve/CVE-2018-1000077

https://access.redhat.com/security/cve/CVE-2018-1000078

https://access.redhat.com/security/cve/CVE-2018-1000079

https://access.redhat.com/errata/RHSA-2020:0663

https://bugzilla.redhat.com/1547418

https://bugzilla.redhat.com/1547419

https://bugzilla.redhat.com/1547420

https://bugzilla.redhat.com/1547421

https://bugzilla.redhat.com/1547422

https://bugzilla.redhat.com/1547425

https://bugzilla.redhat.com/1547426

https://bugzilla.redhat.com/1561949

https://bugzilla.redhat.com/1561950

Plugin 詳細資訊

嚴重性: Critical

ID: 134261

檔案名稱: redhat-RHSA-2020-0663.nasl

版本: 1.10

類型: local

代理程式: unix

已發布: 2020/3/6

已更新: 2023/5/25

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

風險資訊

VPR

風險因素: Medium

分數: 5.9

CVSS v2

風險因素: High

基本分數: 7.5

時間分數: 5.5

媒介: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS 評分資料來源: CVE-2018-8780

CVSS v3

風險因素: Critical

基本分數: 9.8

時間分數: 8.5

媒介: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

時間媒介: CVSS:3.0/E:U/RL:O/RC:C

CVSS 評分資料來源: CVE-2018-1000076

弱點資訊

CPE: cpe:/o:redhat:rhel_aus:7.6, cpe:/o:redhat:rhel_e4s:7.6, cpe:/o:redhat:rhel_eus:7.6, cpe:/o:redhat:rhel_tus:7.6, p-cpe:/a:redhat:enterprise_linux:ruby, p-cpe:/a:redhat:enterprise_linux:ruby-devel, p-cpe:/a:redhat:enterprise_linux:ruby-doc, p-cpe:/a:redhat:enterprise_linux:ruby-irb, p-cpe:/a:redhat:enterprise_linux:ruby-libs, p-cpe:/a:redhat:enterprise_linux:ruby-tcltk, p-cpe:/a:redhat:enterprise_linux:rubygem-bigdecimal, p-cpe:/a:redhat:enterprise_linux:rubygem-io-console, p-cpe:/a:redhat:enterprise_linux:rubygem-json, p-cpe:/a:redhat:enterprise_linux:rubygem-minitest, p-cpe:/a:redhat:enterprise_linux:rubygem-psych, p-cpe:/a:redhat:enterprise_linux:rubygem-rake, p-cpe:/a:redhat:enterprise_linux:rubygem-rdoc, p-cpe:/a:redhat:enterprise_linux:rubygems, p-cpe:/a:redhat:enterprise_linux:rubygems-devel

必要的 KB 項目: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2020/3/3

弱點發布日期: 2018/2/26

參考資訊

CVE: CVE-2018-1000073, CVE-2018-1000074, CVE-2018-1000075, CVE-2018-1000076, CVE-2018-1000077, CVE-2018-1000078, CVE-2018-1000079, CVE-2018-8777, CVE-2018-8780

BID: 103683, 103739

CWE: 20, 22, 347, 400, 502, 626, 79, 835

RHSA: 2020:0663