RHEL 7:zsh (RHSA-2018:3073)

critical Nessus Plugin ID 118524

概要

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

說明

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

zsh 殼層是命令解譯器,可用作互動式登入殼層及殼層指令碼命令處理器。Zsh 類似於 ksh 殼層 (Korn 殼層),但包含許多增強功能。Zsh 支援命令列編輯、內建拼字校正、程式設計命令完成、殼層函式 (使用自動載入)、歷史記錄機制等等其他功能。

安全性修正:

* zsh:compctl.c 的 gen_matches_files() 中有堆疊型緩衝區溢位 (CVE-2018-1083)

* zsh:在 >& fd 語法中,過長的 fds 造成緩衝區溢位 (CVE-2014-10071)

* zsh:在過長目錄路徑中掃描是否有符號連結時,發生緩衝區溢位問題 (CVE-2014-10072)

* zsh:在某些情況下,sh 相容模式下會發生 cd 的 NULL 解除參照 (CVE-2017-18205)

* zsh:符號連結中有緩衝區溢位 (CVE-2017-18206)

* zsh:exec.c:hashcmd() 中存在堆疊型緩衝區溢位 (CVE-2018-1071)

* zsh:utils.c:checkmailpath() 中的緩衝區溢位可能會導致本機任意程式碼執行 (CVE-2018-1100)

* zsh:複製空雜湊表時損毀 (CVE-2018-7549)

如需安全性問題的詳細資料,包括影響、CVSS 分數及其他相關資訊,請參閱〈參照〉一節列出的 CVE 頁面。

CVE-2018-1083、CVE-2018-1071 和 CVE-2018-1100 問題是由 Richard Maciel Costa (Red Hat) 所發現。

其他變更:

如需有關此發行版本的詳細變更資訊,請參閱可從「參照」一節連結的 Red Hat Enterprise Linux 7.6 版本資訊。

Tenable 已直接從 Red Hat Enterprise Linux 安全公告擷取前置描述區塊。

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

解決方案

根據 RHSA-2018:3073 中的指引更新 RHEL zsh 套件。

另請參閱

http://www.nessus.org/u?2b0cc1e7

http://www.nessus.org/u?a4ae4a42

https://access.redhat.com/errata/RHSA-2018:3073

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=1549836

https://bugzilla.redhat.com/show_bug.cgi?id=1549855

https://bugzilla.redhat.com/show_bug.cgi?id=1549858

https://bugzilla.redhat.com/show_bug.cgi?id=1549861

https://bugzilla.redhat.com/show_bug.cgi?id=1549862

https://bugzilla.redhat.com/show_bug.cgi?id=1553531

https://bugzilla.redhat.com/show_bug.cgi?id=1557382

https://bugzilla.redhat.com/show_bug.cgi?id=1563395

Plugin 詳細資訊

嚴重性: Critical

ID: 118524

檔案名稱: redhat-RHSA-2018-3073.nasl

版本: 1.7

類型: local

代理程式: unix

已發布: 2018/10/31

已更新: 2025/4/15

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

風險資訊

VPR

風險因素: Medium

分數: 5.9

Vendor

Vendor Severity: Moderate

CVSS v2

風險因素: High

基本分數: 7.5

時間性分數: 5.5

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

CVSS 評分資料來源: CVE-2017-18206

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

弱點資訊

CPE: p-cpe:/a:redhat:enterprise_linux:zsh, p-cpe:/a:redhat:enterprise_linux:zsh-html, cpe:/o:redhat:enterprise_linux:7

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2018/10/30

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

參考資訊

CVE: CVE-2014-10071, CVE-2014-10072, CVE-2017-18205, CVE-2017-18206, CVE-2018-1071, CVE-2018-1083, CVE-2018-1100, CVE-2018-7549

CWE: 120, 121, 665

RHSA: 2018:3073