RHEL 2.1 : unzip (RHSA-2002:138)

medium Nessus Plugin ID 12312

Synopsis

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

Description

The unzip and tar utilities contain vulnerabilities which can allow arbitrary files to be overwritten during archive extraction.

The unzip and tar utilities are used for dealing with archives, which are multiple files stored inside of a single file.

A directory traversal vulnerability in unzip version 5.42 and earlier, as well as GNU tar 1.13.19 and earlier, allows attackers to overwrite arbitrary files during archive extraction via a '..' (dot dot) in an extracted filename (CVE-2001-1267, CVE-2001-1268). In addition, unzip version 5.42 and earlier also allows attackers to overwrite arbitrary files during archive extraction via filenames in the archive that begin with the '/' (slash) character (CVE-2001-1269).

During testing of the fix to GNU tar, we discovered that GNU tar 1.13.25 was still vulnerable to a modified version of the same problem. Red Hat has provided a patch to tar 1.3.25 to correct this problem (CVE-2002-0399).

Users of unzip and tar are advised to upgrade to these errata packages, containing unzip version 5.50 and a patched version of GNU tar 1.13.25, which are not vulnerable to these issues.

Solution

Update the affected tar and / or unzip packages.

See Also

https://access.redhat.com/security/cve/cve-2001-1267

https://access.redhat.com/security/cve/cve-2001-1268

https://access.redhat.com/security/cve/cve-2001-1269

https://access.redhat.com/security/cve/cve-2002-0399

https://access.redhat.com/security/cve/cve-2002-1216

https://online.securityfocus.com/archive/1/196445

https://access.redhat.com/errata/RHSA-2002:138

Plugin Details

Severity: Medium

ID: 12312

File Name: redhat-RHSA-2002-138.nasl

Version: 1.26

Type: local

Agent: unix

Published: 7/6/2004

Updated: 1/14/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:tar, p-cpe:/a:redhat:enterprise_linux:unzip, cpe:/o:redhat:enterprise_linux:2.1

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

Patch Publication Date: 10/1/2002

Vulnerability Publication Date: 7/12/2001

Reference Information

CVE: CVE-2001-1267, CVE-2001-1268, CVE-2001-1269, CVE-2002-0399, CVE-2002-1216

RHSA: 2002:138