RHEL 7 : zsh (RHSA-2018:3073)

critical Nessus 插件 ID 118524

简介

远程 Red Hat 主机缺少一个或多个适用于 zsh 的安全更新。

描述

远程 Redhat Enterprise Linux 7 主机上安装的程序包受到 RHSA-2018:3073 公告中提及的多个漏洞的影响。

zsh shell 是命令解释器,可以用作交互式登录 shell 和脚本命令处理器。Zsh 类似于 ksh shell (Korn shell),但是包含许多增强功能。zsh 支持命令行编辑、内置拼写纠正、可编程命令完成、shell 函数(带有自动加载)和历史机制等等。

安全修复:

* zsh:位于 compctl.c 的 gen_matches_files() 中基于堆栈的缓冲区溢出 (CVE-2018-1083)

* zsh:在 >& fd 语法中,过长 fds 的缓冲区溢出 (CVE-2014-10071)

* zsh:当扫描符号链接的过长目录路径时,存在缓冲区溢出 (CVE-2014-10072)

* zsh:在给定情况下,在 sh 兼容模式下 cd 中的空取消引用 (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

插件详情

严重性: 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