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://lists.debian.org/debian-lts-announce/2018/03/msg00038.html

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

Plugin Details

Severity: High

ID: 108769

File Name: debian_DLA-1335.nasl

Version: 1.5

Type: local

Agent: unix

Published: 4/2/2018

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

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

CVSS v3

Risk Factor: High

Base Score: 7.8

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:zsh, p-cpe:/a:debian:debian_linux:zsh-dbg, p-cpe:/a:debian:debian_linux:zsh-dev, p-cpe:/a:debian:debian_linux:zsh-doc, p-cpe:/a:debian:debian_linux:zsh-static, cpe:/o:debian:debian_linux:7.0

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

Patch Publication Date: 3/31/2018

Reference Information

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