RHEL 7 : zsh (RHSA-2018:3073)

critical Nessus Plugin ID 118524

Synopsis

The remote Red Hat host is missing one or more security updates for zsh.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2018:3073 advisory.

The zsh shell is a command interpreter usable as an interactive login shell and as a shell script command processor. Zsh resembles the ksh shell (the Korn shell), but includes many enhancements. Zsh supports command-line editing, built-in spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and more.

Security Fix(es):

* zsh: Stack-based buffer overflow in gen_matches_files() at compctl.c (CVE-2018-1083)

* zsh: buffer overflow for very long fds in >& fd syntax (CVE-2014-10071)

* zsh: buffer overflow when scanning very long directory paths for symbolic links (CVE-2014-10072)

* zsh: NULL dereference in cd in sh compatibility mode under given circumstances (CVE-2017-18205)

* zsh: buffer overrun in symlinks (CVE-2017-18206)

* zsh: Stack-based buffer overflow in exec.c:hashcmd() (CVE-2018-1071)

* zsh: buffer overflow in utils.c:checkmailpath() can lead to local arbitrary code execution (CVE-2018-1100)

* zsh: crash on copying empty hash table (CVE-2018-7549)

For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.

The CVE-2018-1083, CVE-2018-1071, and CVE-2018-1100 issues were discovered by Richard Maciel Costa (Red Hat).

Additional Changes:

For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.6 Release Notes linked from the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL zsh package based on the guidance in RHSA-2018:3073.

See Also

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 Details

Severity: Critical

ID: 118524

File Name: redhat-RHSA-2018-3073.nasl

Version: 1.7

Type: local

Agent: unix

Published: 10/31/2018

Updated: 4/15/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2017-18206

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

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

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 10/30/2018

Vulnerability Publication Date: 2/27/2018

Reference Information

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