Debian DLA-1335-1 : zsh security update

high Nessus Plugin ID 108769

Synopsis

The remote Debian host is missing a security update.

Description

Two security vulnerabilities were discovered in the Z shell.

CVE-2018-1071 Stack-based buffer overflow in the exec.c:hashcmd() function. A local attacker could exploit this to cause a denial of service.

CVE-2018-1083 Buffer overflow in the shell autocomplete functionality.
A local unprivileged user can create a specially crafted directory path which leads to code execution in the context of the user who tries to use autocomplete to traverse the before mentioned path. If the user affected is privileged, this leads to privilege escalation.

For Debian 7 'Wheezy', these problems have been fixed in version 4.3.17-1+deb7u2.

We recommend that you upgrade your zsh packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://packages.debian.org/source/wheezy/zsh

https://lists.debian.org/debian-lts-announce/2018/03/msg00038.html

Plugin Details

Severity: High

ID: 108769

File Name: debian_DLA-1335.nasl

Version: 1.6

Type: local

Agent: unix

Published: 4/2/2018

Updated: 11/22/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

CVSS Score Source: CVE-2018-1083

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/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:debian:debian_linux:zsh-static, cpe:/o:debian:debian_linux:7.0, p-cpe:/a:debian:debian_linux:zsh-dbg, p-cpe:/a:debian:debian_linux:zsh, p-cpe:/a:debian:debian_linux:zsh-doc, p-cpe:/a:debian:debian_linux:zsh-dev

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 3/31/2018

Reference Information

CVE: CVE-2018-1071, CVE-2018-1083