Amazon Linux 2 : unzip (ALAS-2021-1604)

high Nessus Plugin ID 146632

Synopsis

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

Description

The version of unzip installed on the remote host is prior to 6.0-43. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2021-1604 advisory.

- Info-ZIP UnZip 6.0 allows remote attackers to cause a denial of service (infinite loop) via empty bzip2 data in a ZIP archive. (CVE-2015-7697)

- Buffer overflow in the zi_short function in zipinfo.c in Info-Zip UnZip 6.0 allows remote attackers to cause a denial of service (crash) via a large compression method value in the central directory file header. (CVE-2016-9844)

- A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the processing of password- protected archives that allows an attacker to perform a denial of service or to possibly achieve code execution. (CVE-2018-1000035)

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

Solution

Run 'yum update unzip' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2021-1604.html

https://access.redhat.com/security/cve/CVE-2015-7697

https://access.redhat.com/security/cve/CVE-2016-9844

https://access.redhat.com/security/cve/CVE-2018-1000035

Plugin Details

Severity: High

ID: 146632

File Name: al2_ALAS-2021-1604.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2/19/2021

Updated: 2/25/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2018-1000035

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/17/2021

Vulnerability Publication Date: 9/7/2015

Reference Information

CVE: CVE-2015-7697, CVE-2016-9844, CVE-2018-1000035

BID: 76863, 94728

ALAS: 2021-1604