Amazon Linux 2 : zsh (ALAS-2018-1089)

High Nessus Plugin ID 118044

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a program named on the second line.(CVE-2018-0502)

It was discovered that zsh does not properly validate the shebang of input files and it truncates it to the first 64 bytes. A local attacker may use this flaw to make zsh execute a different binary than what is expected, named with a substring of the shebang one.(CVE-2018-13259)

Solution

Run 'yum update zsh' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2018-1089.html

Plugin Details

Severity: High

ID: 118044

File Name: al2_ALAS-2018-1089.nasl

Version: 1.2

Type: local

Agent: unix

Published: 2018/10/11

Modified: 2018/10/29

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

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

CVSS v3.0

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:zsh, p-cpe:/a:amazon:linux:zsh-debuginfo, p-cpe:/a:amazon:linux:zsh-html, cpe:/o:amazon:linux:2

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

Patch Publication Date: 2018/10/10

Reference Information

CVE: CVE-2018-0502, CVE-2018-13259

ALAS: 2018-1089